Searched refs:nh_len (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/net/openvswitch/ |
H A D | flow.c | 390 unsigned int nh_len; in parse_ipv6hdr() local 428 nh_len = payload_ofs - nh_ofs; in parse_ipv6hdr() 429 skb_set_transport_header(skb, nh_ofs + nh_len); in parse_ipv6hdr() 431 return nh_len; in parse_ipv6hdr() 555 int nh_len) in parse_icmpv6() argument 821 int nh_len; /* IPv6 Header + Extensions */ in key_extract_l3l4() local 823 nh_len = parse_ipv6hdr(skb, key); in key_extract_l3l4() 824 if (unlikely(nh_len < 0)) { in key_extract_l3l4() 825 switch (nh_len) { in key_extract_l3l4() 835 error = nh_len; in key_extract_l3l4() [all …]
|
/openbmc/linux/drivers/net/ethernet/pasemi/ |
H A D | pasemi_mac.c | 1349 const int nh_len = skb_network_header_len(skb); in pasemi_mac_queue_csdesc() local 1357 XCT_FUN_SHL(nh_len >> 2) | XCT_FUN_SE; in pasemi_mac_queue_csdesc() 1439 const int nh_len = skb_network_header_len(skb); in pasemi_mac_start_tx() local 1469 dflags |= XCT_MACTX_IPH(nh_len >> 2); in pasemi_mac_start_tx() 1474 dflags |= XCT_MACTX_IPH(nh_len >> 2); in pasemi_mac_start_tx()
|
/openbmc/linux/net/netfilter/ipvs/ |
H A D | ip_vs_core.c | 1052 static inline int is_sctp_abort(const struct sk_buff *skb, int nh_len) in is_sctp_abort() argument 1055 sch = skb_header_pointer(skb, nh_len + sizeof(struct sctphdr), in is_sctp_abort() 1064 static inline int is_tcp_reset(const struct sk_buff *skb, int nh_len) in is_tcp_reset() argument 1068 th = skb_header_pointer(skb, nh_len, sizeof(_tcph), &_tcph); in is_tcp_reset()
|
/openbmc/linux/net/core/ |
H A D | filter.c | 3530 int nh_len = flags & BPF_F_ADJ_ROOM_ENCAP_L3_IPV6 ? in bpf_skb_net_grow() local 3534 skb_set_transport_header(skb, mac_len + nh_len); in bpf_skb_net_grow()
|