]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Linux: Remove unused BPF defines
authorRoy Marples <roy@marples.name>
Tue, 17 Sep 2019 11:24:22 +0000 (12:24 +0100)
committerRoy Marples <roy@marples.name>
Tue, 17 Sep 2019 11:24:22 +0000 (12:24 +0100)
These have lived in bpf.c for a while now.

src/if-linux.c

index e569596f597015b62788b00eb0a056b43d0afe31..57e6030e52e897ea4a6cb63aef6363612632ec8d 100644 (file)
@@ -98,11 +98,6 @@ int if_getssid_wext(const char *ifname, uint8_t *ssid);
 #define        SOL_NETLINK     270
 #endif
 
-#define bpf_insn               sock_filter
-#define BPF_SKIPTYPE
-#define BPF_ETHCOOK            -ETH_HLEN
-#define BPF_WHOLEPACKET        0x0fffffff /* work around buggy LPF filters */
-
 struct priv {
        int route_fd;
        uint32_t route_pid;