Searched refs:eth_type (Results 1 – 5 of 5) sorted by relevance
127 static int flower_parse_vlan_eth_type(char *str, __be16 eth_type, int type, in flower_parse_vlan_eth_type() argument133 if (eth_type != htons(ETH_P_8021Q)) { in flower_parse_vlan_eth_type()199 static int flower_parse_ip_proto(char *str, __be16 eth_type, int type, in flower_parse_ip_proto() argument205 if (eth_type != htons(ETH_P_IP) && eth_type != htons(ETH_P_IPV6)) in flower_parse_ip_proto()215 if (eth_type != htons(ETH_P_IP)) in flower_parse_ip_proto()219 if (eth_type != htons(ETH_P_IPV6)) in flower_parse_ip_proto()278 static int flower_parse_ip_addr(char *str, __be16 eth_type, in flower_parse_ip_addr() argument285 if (eth_type == htons(ETH_P_IP)) { in flower_parse_ip_addr()287 } else if (eth_type == htons(ETH_P_IPV6)) { in flower_parse_ip_addr()289 } else if (!eth_type) { in flower_parse_ip_addr()[all …]
59 __u16 eth_type; in parse_eth_frame() local67 eth_type = eth->h_proto; in parse_eth_frame()70 if (eth_type == bpf_htons(ETH_P_8021Q) in parse_eth_frame()71 || eth_type == bpf_htons(ETH_P_8021AD)) { in parse_eth_frame()78 eth_type = vlan_hdr->h_vlan_encapsulated_proto; in parse_eth_frame()83 if (eth_type == bpf_htons(ETH_P_8021Q) in parse_eth_frame()84 || eth_type == bpf_htons(ETH_P_8021AD)) { in parse_eth_frame()91 eth_type = vlan_hdr->h_vlan_encapsulated_proto; in parse_eth_frame()95 pkt->l3_proto = bpf_ntohs(eth_type); /* Convert to host-byte-order */ in parse_eth_frame()
22 ofm = OFPMatch(oxm_fields=OFBEthType(eth_type=0x86dd))
188 eth_type)457 _tc_once_attr 'action classid indev dst_mac src_mac eth_type \
86921 __be16 eth_type; member