Searched refs:ethhdr_proto (Results 1 – 1 of 1) sorted by relevance
89 static int ethhdr_proto = -1; variable125 BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, ntohs(ethhdr_proto), 0, 7), in setup_sock_filter()218 eth->h_proto = ethhdr_proto; in fill_datalinklayer()722 daddr.sll_protocol = ethhdr_proto; in bind_packetsocket()1045 ethhdr_proto = htons(ETH_P_IP); in parse_args()1049 ethhdr_proto = htons(ETH_P_IPV6); in parse_args()