Home
last modified time | relevance | path

Searched refs:ip_len (Results 1 – 3 of 3) sorted by relevance

/net/core/
Dnetpoll.c402 int total_len, ip_len, udp_len; in netpoll_send_udp() local
414 ip_len = udp_len + sizeof(*ip6h); in netpoll_send_udp()
416 ip_len = udp_len + sizeof(*iph); in netpoll_send_udp()
418 total_len = ip_len + LL_RESERVED_SPACE(np->dev); in netpoll_send_udp()
479 put_unaligned(htons(ip_len), &(iph->tot_len)); in netpoll_send_udp()
/net/openvswitch/
Dflow.c192 unsigned int ip_len; in check_iphdr() local
199 ip_len = ip_hdrlen(skb); in check_iphdr()
200 if (unlikely(ip_len < sizeof(struct iphdr) || in check_iphdr()
201 skb->len < nh_ofs + ip_len)) in check_iphdr()
204 skb_set_transport_header(skb, nh_ofs + ip_len); in check_iphdr()
/net/ceph/
Dmessenger.c1864 int ip_len, ret; in ceph_dns_resolve_name() local
1887 ip_len = dns_query(current->nsproxy->net_ns, in ceph_dns_resolve_name()
1889 if (ip_len > 0) in ceph_dns_resolve_name()
1890 ret = ceph_pton(ip_addr, ip_len, addr, -1, NULL); in ceph_dns_resolve_name()