Displaying 12 results from an estimated 12 matches for "domainsearch".
2016 Jan 07
2
Domain name search path use during PXE booting
...e/dhcp_option.c syslinux-6.03/core/fs/pxe/dhcp_option.c
--- syslinux-6.03.orig/core/fs/pxe/dhcp_option.c 2014-10-06 17:27:44.000000000 +0100
+++ syslinux-6.03/core/fs/pxe/dhcp_option.c 2016-01-04 07:58:18.158206039 +0000
@@ -7,6 +7,11 @@
#include "pxe.h"
char LocalDomain[256];
+/*
+ * DomainSearch contains a list of null terminated domain names
+ * An empty string terminates the list
+ */
+char DomainSearch[257];
int over_load;
uint8_t uuid_type;
@@ -133,6 +138,135 @@ static void pxelinux_reboottime(const vo
DHCPMagic |= 8; /* Got reboot time */
}
+/*
+ * See RFC1035 section...
2012 May 22
0
[klibc:master] ipconfig: Write $DOMAINSEARCH as domain-search
...ernel.org/?p=libs/klibc/klibc.git;a=commit;h=2f1c2933bc4cceb4766c4a7aedebe12c82be775d
Author: KUMAAN <9maaan at gmail.com>
AuthorDate: Tue, 23 Aug 2011 14:57:08 +0900
Committer: maximilian attems <max at stro.at>
CommitDate: Tue, 22 May 2012 10:52:43 +0200
[klibc] ipconfig: Write $DOMAINSEARCH as domain-search
This patch requests domain-search option to DHCP servers, and parses
domain-search option value in DHCP ACK packet when ipconfig uses DHCP.
This patch writes $DOMAINSEARCH as the value to /tmp/net-$DEVICE.conf file.
> ipconfig: ignores dhcp options
> http://bugs.debian.org/...
2016 Jan 07
0
Domain name search path use during PXE booting
...ption.c
> --- syslinux-6.03.orig/core/fs/pxe/dhcp_option.c 2014-10-06
> 17:27:44.000000000 +0100
> +++ syslinux-6.03/core/fs/pxe/dhcp_option.c 2016-01-04 07:58:18.158206039
> +0000
> @@ -7,6 +7,11 @@
> #include "pxe.h"
>
> char LocalDomain[256];
> +/*
> + * DomainSearch contains a list of null terminated domain names
> + * An empty string terminates the list
> + */
> +char DomainSearch[257];
>
> int over_load;
> uint8_t uuid_type;
> @@ -133,6 +138,135 @@ static void pxelinux_reboottime(const vo
> DHCPMagic |= 8; /* Got reboot tim...
2016 Jan 08
1
Domain name search path use during PXE booting
.../pxe/dhcp_option.c 2014-10-06
>> 17:27:44.000000000 +0100
>> +++ syslinux-6.03/core/fs/pxe/dhcp_option.c 2016-01-04 07:58:18.158206039
>> +0000
>> @@ -7,6 +7,11 @@
>> #include "pxe.h"
>>
>> char LocalDomain[256];
>> +/*
>> + * DomainSearch contains a list of null terminated domain names
>> + * An empty string terminates the list
>> + */
>> +char DomainSearch[257];
>>
>> int over_load;
>> uint8_t uuid_type;
>> @@ -133,6 +138,135 @@ static void pxelinux_reboottime(const vo
>> DHCPM...
2017 Feb 04
0
[PATCH] ipconfig: handle multiple interfaces correctly
...#39;, dev->hwaddr[i]);
diff --git a/usr/kinit/ipconfig/netdev.h b/usr/kinit/ipconfig/netdev.h
index cd853b6c078b..4b75a65ad067 100644
--- a/usr/kinit/ipconfig/netdev.h
+++ b/usr/kinit/ipconfig/netdev.h
@@ -45,6 +45,7 @@ struct netdev {
char filename[FNLEN]; /* filename */
char *domainsearch; /* decoded, NULL or malloc-ed */
long uptime; /* when complete configuration */
+ int pkt_fd; /* packet socket for this interface */
struct netdev *next; /* next configured i/f */
};
diff --git a/usr/kinit/ipconfig/packet.c b/usr/kinit/ipconfig/packet.c
index 446073aba2ae..200180109f2d...
2012 May 31
1
klibc 2.0 release
...ev as macros
KUMAAN (6):
[klibc] ipconfig: Write $UPTIME as uptime
[klibc] ipconfig: Write $DHCPLEASETIME as dhcp-lease-time
[klibc] ipconfig: Write $PROTO as configuration protocol
[klibc] ipconfig: A bit more robust bootp/dhcp option parsing
[klibc] ipconfig: Write $DOMAINSEARCH as domain-search
[klibc] ipconfig: Append padding if DHCP packet length < 300 octets
Kees Cook (1):
[klibc] run-init: add drop_capabilities support
Luck, Tony (1):
[klibc] ia64: Replace pipe.c with pipe.S
Maciej ?enczykowski (1):
[klibc] include: [sys/types.h] -> li...
2019 Jan 18
0
[klibc:master] ipconfig: handle multiple interfaces correctly
...: ':', dev->hwaddr[i]);
diff --git a/usr/kinit/ipconfig/netdev.h b/usr/kinit/ipconfig/netdev.h
index cd853b6..4b75a65 100644
--- a/usr/kinit/ipconfig/netdev.h
+++ b/usr/kinit/ipconfig/netdev.h
@@ -45,6 +45,7 @@ struct netdev {
char filename[FNLEN]; /* filename */
char *domainsearch; /* decoded, NULL or malloc-ed */
long uptime; /* when complete configuration */
+ int pkt_fd; /* packet socket for this interface */
struct netdev *next; /* next configured i/f */
};
diff --git a/usr/kinit/ipconfig/packet.c b/usr/kinit/ipconfig/packet.c
index 446073a..2001801 100644
---...
2017 Dec 19
0
[PATCH] Implement classless static routes
...*/
+ struct route *next;
+};
+
struct netdev {
const char *name; /* Device name */
unsigned int ifindex; /* interface index */
@@ -44,6 +52,7 @@ struct netdev {
char bootpath[BPLEN]; /* boot path */
char filename[FNLEN]; /* filename */
char *domainsearch; /* decoded, NULL or malloc-ed */
+ struct route *routes; /* decoded, NULL or malloc-ed list */
long uptime; /* when complete configuration */
struct netdev *next; /* next configured i/f */
};
@@ -70,6 +79,7 @@ extern struct netdev *ifaces;
int netdev_getflags(struct netdev *dev, short *fl...
2018 Jun 12
0
[PATCH v2] Implement classless static routes
...*/
+ struct route *next;
+};
+
struct netdev {
const char *name; /* Device name */
unsigned int ifindex; /* interface index */
@@ -44,6 +52,7 @@ struct netdev {
char bootpath[BPLEN]; /* boot path */
char filename[FNLEN]; /* filename */
char *domainsearch; /* decoded, NULL or malloc-ed */
+ struct route *routes; /* decoded, NULL or malloc-ed list */
long uptime; /* when complete configuration */
struct netdev *next; /* next configured i/f */
};
@@ -69,7 +78,7 @@ extern struct netdev *ifaces;
int netdev_getflags(struct netdev *dev, short *...
2019 Jan 18
0
[klibc:master] ipconfig: Implement classless static routes
...*/
unsigned int ifindex; /* interface index */
unsigned int hwtype; /* ARPHRD_xxx */
unsigned int hwlen; /* HW address length */
@@ -44,6 +52,7 @@ struct netdev {
char bootpath[BPLEN]; /* boot path */
char filename[FNLEN]; /* filename */
char *domainsearch; /* decoded, NULL or malloc-ed */
+ struct route *routes; /* decoded, NULL or malloc-ed list */
long uptime; /* when complete configuration */
int pkt_fd; /* packet socket for this interface */
struct netdev *next; /* next configured i/f */
@@ -70,7 +79,7 @@ extern struct netdev *ifaces;...
2018 Jun 18
1
[PATCH v3 1/2] Implement classless static routes
...*/
unsigned int ifindex; /* interface index */
unsigned int hwtype; /* ARPHRD_xxx */
unsigned int hwlen; /* HW address length */
@@ -44,6 +52,7 @@ struct netdev {
char bootpath[BPLEN]; /* boot path */
char filename[FNLEN]; /* filename */
char *domainsearch; /* decoded, NULL or malloc-ed */
+ struct route *routes; /* decoded, NULL or malloc-ed list */
long uptime; /* when complete configuration */
struct netdev *next; /* next configured i/f */
};
@@ -69,7 +78,7 @@ extern struct netdev *ifaces;
int netdev_getflags(struct netdev *dev, short *...
2017 Dec 31
4
[PATCH klibc 0/4] Fixes from Debian and Ubuntu
The following patches come from Debian and/or Ubuntu packages of
klibc.
Ben.
Ben Hutchings (1):
[klibc] run-init: Add dry-run mode
Jay Vosburgh (1):
[klibc] ipconfig: Use separate sockets for DHCP from multiple
interfaces
Mathieu Trudel-Lapierre (1):
[klibc] ipconfig: Set broadcast when sending DHCPREQUEST and
DHCPDISCOVER
YunQiang Su (1):
[klibc] mips: setjmp.S: don't