Searched refs:nh_len (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/net/openvswitch/
H A Dflow.c251 unsigned int nh_len; parse_ipv6hdr() local
286 nh_len = payload_ofs - nh_ofs; parse_ipv6hdr()
287 skb_set_transport_header(skb, nh_ofs + nh_len); parse_ipv6hdr()
289 return nh_len; parse_ipv6hdr()
359 int nh_len) parse_icmpv6()
621 int nh_len; /* IPv6 Header + Extensions */ key_extract() local
623 nh_len = parse_ipv6hdr(skb, key); key_extract()
624 if (unlikely(nh_len < 0)) { key_extract()
627 if (nh_len == -EINVAL) { key_extract()
631 error = nh_len; key_extract()
669 error = parse_icmpv6(skb, key, nh_len); key_extract()
358 parse_icmpv6(struct sk_buff *skb, struct sw_flow_key *key, int nh_len) parse_icmpv6() argument
/linux-4.1.27/drivers/net/ethernet/pasemi/
H A Dpasemi_mac.c1397 const int nh_len = skb_network_header_len(skb); pasemi_mac_queue_csdesc() local
1405 XCT_FUN_SHL(nh_len >> 2) | XCT_FUN_SE; pasemi_mac_queue_csdesc()
1488 const int nh_len = skb_network_header_len(skb); pasemi_mac_start_tx() local
1518 dflags |= XCT_MACTX_IPH(nh_len >> 2); pasemi_mac_start_tx()
1523 dflags |= XCT_MACTX_IPH(nh_len >> 2); pasemi_mac_start_tx()
/linux-4.1.27/net/netfilter/ipvs/
H A Dip_vs_core.c1019 static inline int is_sctp_abort(const struct sk_buff *skb, int nh_len) is_sctp_abort() argument
1022 sch = skb_header_pointer(skb, nh_len + sizeof(sctp_sctphdr_t), is_sctp_abort()
1031 static inline int is_tcp_reset(const struct sk_buff *skb, int nh_len) is_tcp_reset() argument
1035 th = skb_header_pointer(skb, nh_len, sizeof(_tcph), &_tcph); is_tcp_reset()

Completed in 115 milliseconds