Searched refs:ip_len (Results 1 – 10 of 10) sorted by relevance
/linux-4.4.14/fs/nfs/ |
D | dns_resolve.c | 22 int ip_len; in nfs_dns_resolve_name() local 24 ip_len = dns_query(NULL, name, namelen, NULL, &ip_addr, NULL); in nfs_dns_resolve_name() 25 if (ip_len > 0) in nfs_dns_resolve_name() 26 ret = rpc_pton(net, ip_addr, ip_len, sa, salen); in nfs_dns_resolve_name()
|
/linux-4.4.14/net/core/ |
D | netpoll.c | 380 int total_len, ip_len, udp_len; in netpoll_send_udp() local 392 ip_len = udp_len + sizeof(*ip6h); in netpoll_send_udp() 394 ip_len = udp_len + sizeof(*iph); in netpoll_send_udp() 396 total_len = ip_len + LL_RESERVED_SPACE(np->dev); in netpoll_send_udp() 457 put_unaligned(htons(ip_len), &(iph->tot_len)); in netpoll_send_udp()
|
/linux-4.4.14/net/openvswitch/ |
D | flow.c | 200 unsigned int ip_len; in check_iphdr() local 207 ip_len = ip_hdrlen(skb); in check_iphdr() 208 if (unlikely(ip_len < sizeof(struct iphdr) || in check_iphdr() 209 skb->len < nh_ofs + ip_len)) in check_iphdr() 212 skb_set_transport_header(skb, nh_ofs + ip_len); in check_iphdr()
|
/linux-4.4.14/arch/s390/kernel/ |
D | ipl.c | 639 int i, ip_len; in reipl_generic_vmparm_store() local 642 ip_len = len; in reipl_generic_vmparm_store() 644 ip_len--; in reipl_generic_vmparm_store() 646 if (ip_len > vmparm_max) in reipl_generic_vmparm_store() 650 for (i = 0; i < ip_len; i++) in reipl_generic_vmparm_store() 655 ipb->ipl_info.ccw.vm_parm_len = ip_len; in reipl_generic_vmparm_store() 656 if (ip_len > 0) { in reipl_generic_vmparm_store() 658 memcpy(ipb->ipl_info.ccw.vm_parm, buf, ip_len); in reipl_generic_vmparm_store() 659 ASCEBC(ipb->ipl_info.ccw.vm_parm, ip_len); in reipl_generic_vmparm_store()
|
/linux-4.4.14/drivers/net/ethernet/pasemi/ |
D | pasemi_mac.c | 264 unsigned int ip_len; in get_skb_hdr() local 277 ip_len = ip_hdrlen(skb); in get_skb_hdr() 278 skb_set_transport_header(skb, ip_len); in get_skb_hdr() 282 if (ntohs(iph->tot_len) < ip_len + tcp_hdrlen(skb)) in get_skb_hdr()
|
/linux-4.4.14/net/ceph/ |
D | messenger.c | 1849 int ip_len, ret; in ceph_dns_resolve_name() local 1872 ip_len = dns_query(NULL, name, end - name, NULL, &ip_addr, NULL); in ceph_dns_resolve_name() 1873 if (ip_len > 0) in ceph_dns_resolve_name() 1874 ret = ceph_pton(ip_addr, ip_len, ss, -1, NULL); in ceph_dns_resolve_name()
|
/linux-4.4.14/drivers/infiniband/hw/nes/ |
D | nes_hw.c | 1648 unsigned int ip_len; in nes_lro_get_skb_hdr() local 1654 ip_len = ip_hdrlen(skb); in nes_lro_get_skb_hdr() 1655 skb_set_transport_header(skb, ip_len); in nes_lro_get_skb_hdr()
|
/linux-4.4.14/drivers/net/ethernet/neterion/ |
D | s2io.c | 8234 u8 l2_type = (u8)((rxdp->Control_1 >> 37) & 0x7), ip_len; in check_L2_lro_capable() local 8259 ip_len = (u8)((*ip)->ihl); in check_L2_lro_capable() 8260 ip_len <<= 2; in check_L2_lro_capable() 8261 *tcp = (struct tcphdr *)((unsigned long)*ip + ip_len); in check_L2_lro_capable()
|
/linux-4.4.14/drivers/infiniband/hw/cxgb4/ |
D | cm.c | 2350 int ip_len = (CHELSIO_CHIP_VERSION(type) <= CHELSIO_T5) ? in get_4tuple() local 2356 ((u8 *)(req + 1) + eth_len + ip_len); in get_4tuple()
|
/linux-4.4.14/drivers/scsi/qla4xxx/ |
D | ql4_os.c | 6668 size_t ip_len = IP_ADDR_LEN; in qla4xxx_cmp_fw_stentry() local 6672 ip_len = IPv6_ADDR_LEN; in qla4xxx_cmp_fw_stentry() 6674 if (memcmp(fw_ddb_entry->ip_addr, flash_ddb_entry->ip_addr, ip_len)) in qla4xxx_cmp_fw_stentry()
|