Searched refs:ip_len (Results 1 – 3 of 3) sorted by relevance
/net/core/ |
D | netpoll.c | 402 int total_len, ip_len, udp_len; in netpoll_send_udp() local 415 ip_len = udp_len + sizeof(*ip6h); in netpoll_send_udp() 417 ip_len = udp_len + sizeof(*iph); in netpoll_send_udp() 419 total_len = ip_len + LL_RESERVED_SPACE(np->dev); in netpoll_send_udp() 480 put_unaligned(htons(ip_len), &(iph->tot_len)); in netpoll_send_udp()
|
/net/openvswitch/ |
D | flow.c | 197 unsigned int ip_len; in check_iphdr() local 204 ip_len = ip_hdrlen(skb); in check_iphdr() 205 if (unlikely(ip_len < sizeof(struct iphdr) || in check_iphdr() 206 skb->len < nh_ofs + ip_len)) in check_iphdr() 209 skb_set_transport_header(skb, nh_ofs + ip_len); in check_iphdr()
|
/net/ceph/ |
D | messenger.c | 1247 int ip_len, ret; in ceph_dns_resolve_name() local 1270 ip_len = dns_query(current->nsproxy->net_ns, in ceph_dns_resolve_name() 1272 if (ip_len > 0) in ceph_dns_resolve_name() 1273 ret = ceph_pton(ip_addr, ip_len, addr, -1, NULL); in ceph_dns_resolve_name()
|