Skip to content

Conversation

rcmcdonald91
Copy link

@rcmcdonald91 rcmcdonald91 commented Jul 24, 2025

This is needed to achieve feature parity with dhclient(8) in FreeBSD.

https://reviews.freebsd.org/D31263

This allows the use of VLAN PCP in dhclient, which is required for
certain ISPs (such as Orange.fr).

Still needs documentation.

@rcmcdonald91 rcmcdonald91 force-pushed the rcm-vlan-pcp branch 2 times, most recently from ad1c3cb to 34631f7 Compare July 25, 2025 15:49
@rcmcdonald91 rcmcdonald91 changed the title FreeBSD: Introduce vlan-pcp option for VLAN PCP tagging FreeBSD: Introduce vlan_pcp option for VLAN PCP tagging Jul 25, 2025
Copy link
Member

@rsmarples rsmarples left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add an entry to dhcpcd.conf(5) as well please?

#include <sys/socket.h>
#include <net/if.h>
#include <netinet/in.h>
#include <net/bpf.h>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Linux does not have this header, please #ifdef it.... or we could just configure the option regardless of the capability.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants