opnsense-src/sbin/dhclient
Franco Fichtner b7307744e0 dhclient: VLAN priority support
These changes are based on the dhclient used in pfSense 2.3, which
seems not to have made it into FreeBSD 11 as used in pfSense 2.4.

To be able to add a VLAN priority to a DHCP request the following
must be added to the config:

interface "em1_vlan123" {
    vlan-parent "em1";
    vlan-id 123;
    vlan-pcp 6;
}

Extensive (and annoying) care has been taken WRT keeping the BPF
write filter functional for security reasons.

Based on a submission by Martin Wasley <martin@queens-park.com>.
2018-06-11 22:38:51 +02:00
..
tests src: clean-cut move to release/11.1.0 2017-08-20 13:44:58 +02:00
alloc.c src: initial commit based on FreeBSD-10.0 2014-11-09 09:30:14 +01:00
bpf.c dhclient: VLAN priority support 2018-06-11 22:38:51 +02:00
clparse.c dhclient: VLAN priority support 2018-06-11 22:38:51 +02:00
conflex.c dhclient: VLAN priority support 2018-06-11 22:38:51 +02:00
convert.c src: initial commit based on FreeBSD-10.0 2014-11-09 09:30:14 +01:00
dhclient-script src: initial commit based on FreeBSD-10.0 2014-11-09 09:30:14 +01:00
dhclient-script.8 src: clean-cut move to release/11.0.0 2016-10-03 12:28:21 +02:00
dhclient.8 src: clean-cut move to release/11.0.0 2016-10-03 12:28:21 +02:00
dhclient.c dhclient: support supersede statement for option 54 2017-08-20 15:22:54 +02:00
dhclient.conf src: initial commit based on FreeBSD-10.0 2014-11-09 09:30:14 +01:00
dhclient.conf.5 dhclient: VLAN priority support 2018-06-11 22:38:51 +02:00
dhclient.leases.5 src: clean-cut move to release/11.0.0 2016-10-03 12:28:21 +02:00
dhcp-options.5 src: clean-cut move to release/11.0.0 2016-10-03 12:28:21 +02:00
dhcp.h src: initial commit based on FreeBSD-10.0 2014-11-09 09:30:14 +01:00
dhcpd.h dhclient: VLAN priority support 2018-06-11 22:38:51 +02:00
dhctoken.h dhclient: VLAN priority support 2018-06-11 22:38:51 +02:00
dispatch.c dhclient: VLAN priority support 2018-06-11 22:38:51 +02:00
errwarn.c src: initial commit based on FreeBSD-10.0 2014-11-09 09:30:14 +01:00
hash.c src: initial commit based on FreeBSD-10.0 2014-11-09 09:30:14 +01:00
inet.c src: initial commit based on FreeBSD-10.0 2014-11-09 09:30:14 +01:00
Makefile src: clean-cut move to release/11.0.0 2016-10-03 12:28:21 +02:00
Makefile.depend src: clean-cut move to release/11.0.0 2016-10-03 12:28:21 +02:00
options.c src: clean-cut move to release/11.1.0 2017-08-20 13:44:58 +02:00
packet.c dhclient: VLAN priority support 2018-06-11 22:38:51 +02:00
parse.c src: initial commit based on FreeBSD-10.0 2014-11-09 09:30:14 +01:00
privsep.c src: initial commit based on FreeBSD-10.0 2014-11-09 09:30:14 +01:00
privsep.h src: initial commit based on FreeBSD-10.0 2014-11-09 09:30:14 +01:00
tables.c dhclient(8): Enable numbered user class ID option 2017-12-30 10:19:54 +01:00
tree.c src: initial commit based on FreeBSD-10.0 2014-11-09 09:30:14 +01:00
tree.h src: initial commit based on FreeBSD-10.0 2014-11-09 09:30:14 +01:00