/Linux-v5.4/tools/perf/util/intel-pt-decoder/ |
D | intel-pt-pkt-decoder.c | 431 int ip_len; in intel_pt_get_ip() local 437 ip_len = 0; in intel_pt_get_ip() 442 ip_len = 2; in intel_pt_get_ip() 448 ip_len = 4; in intel_pt_get_ip() 455 ip_len = 6; in intel_pt_get_ip() 461 ip_len = 8; in intel_pt_get_ip() 470 return ip_len + 1; in intel_pt_get_ip()
|
/Linux-v5.4/fs/nfs/ |
D | dns_resolve.c | 23 int ip_len; in nfs_dns_resolve_name() local 25 ip_len = dns_query(net, NULL, name, namelen, NULL, &ip_addr, NULL, in nfs_dns_resolve_name() 27 if (ip_len > 0) in nfs_dns_resolve_name() 28 ret = rpc_pton(net, ip_addr, ip_len, sa, salen); in nfs_dns_resolve_name()
|
/Linux-v5.4/drivers/net/ethernet/chelsio/libcxgb/ |
D | libcxgb_cm.c | 48 int ip_len = (CHELSIO_CHIP_VERSION(type) <= CHELSIO_T5) ? in cxgb_get_4tuple() local 54 ((u8 *)(req + 1) + eth_len + ip_len); in cxgb_get_4tuple()
|
/Linux-v5.4/net/core/ |
D | netpoll.c | 364 int total_len, ip_len, udp_len; in netpoll_send_udp() local 376 ip_len = udp_len + sizeof(*ip6h); in netpoll_send_udp() 378 ip_len = udp_len + sizeof(*iph); in netpoll_send_udp() 380 total_len = ip_len + LL_RESERVED_SPACE(np->dev); in netpoll_send_udp() 441 put_unaligned(htons(ip_len), &(iph->tot_len)); in netpoll_send_udp()
|
/Linux-v5.4/arch/s390/kernel/ |
D | ipl.c | 510 int i, ip_len; in reipl_generic_vmparm_store() local 513 ip_len = len; in reipl_generic_vmparm_store() 515 ip_len--; in reipl_generic_vmparm_store() 517 if (ip_len > vmparm_max) in reipl_generic_vmparm_store() 521 for (i = 0; i < ip_len; i++) in reipl_generic_vmparm_store() 526 ipb->ccw.vm_parm_len = ip_len; in reipl_generic_vmparm_store() 527 if (ip_len > 0) { in reipl_generic_vmparm_store() 529 memcpy(ipb->ccw.vm_parm, buf, ip_len); in reipl_generic_vmparm_store() 530 ASCEBC(ipb->ccw.vm_parm, ip_len); in reipl_generic_vmparm_store()
|
/Linux-v5.4/net/openvswitch/ |
D | flow.c | 192 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()
|
/Linux-v5.4/tools/testing/selftests/net/ |
D | ip_defrag.c | 185 iphdr->ip_len = htons(frag_len); in send_fragment() 313 iphdr->ip_len = htons(frag_len); in send_udp_frags()
|
/Linux-v5.4/drivers/scsi/qedi/ |
D | qedi_main.c | 1981 u32 ipv6_en, dhcp_en, ip_len; in qedi_show_boot_eth_info() local 1997 ip_len = ipv6_en ? IPV6_LEN : IPV4_LEN; in qedi_show_boot_eth_info() 2008 ip_len = ipv6_en ? 5 : 8; in qedi_show_boot_eth_info() 2013 rc = snprintf(buf, ip_len, fmt, ip); in qedi_show_boot_eth_info() 2016 rc = snprintf(buf, ip_len, fmt, sub); in qedi_show_boot_eth_info() 2019 rc = snprintf(buf, ip_len, fmt, gw); in qedi_show_boot_eth_info() 2115 u32 ctrl_flags, ipv6_en, chap_en, mchap_en, ip_len; in qedi_show_boot_tgt_info() local 2139 ip_len = ipv6_en ? IPV6_LEN : IPV4_LEN; in qedi_show_boot_tgt_info() 2157 rc = snprintf(buf, ip_len, "%pI6\n", in qedi_show_boot_tgt_info() 2160 rc = snprintf(buf, ip_len, "%pI4\n", in qedi_show_boot_tgt_info()
|
/Linux-v5.4/tools/testing/selftests/bpf/ |
D | bpf_helpers.h | 206 void *ip, int ip_len, void *tcp, int tcp_len) = 234 int ip_len, void *tcp, int tcp_len) =
|
/Linux-v5.4/drivers/scsi/be2iscsi/ |
D | be_mgmt.c | 548 uint32_t ip_len; in beiscsi_if_set_ip() local 565 ip_len = (ip_type < BEISCSI_IP_TYPE_V6) ? IP_V4_LEN : IP_V6_LEN; in beiscsi_if_set_ip() 566 memcpy(req->ip_params.ip_record.ip_addr.addr, ip, ip_len); in beiscsi_if_set_ip() 569 subnet, ip_len); in beiscsi_if_set_ip()
|
/Linux-v5.4/net/ceph/ |
D | messenger.c | 1871 int ip_len, ret; in ceph_dns_resolve_name() local 1894 ip_len = dns_query(current->nsproxy->net_ns, in ceph_dns_resolve_name() 1896 if (ip_len > 0) in ceph_dns_resolve_name() 1897 ret = ceph_pton(ip_addr, ip_len, addr, -1, NULL); in ceph_dns_resolve_name()
|
/Linux-v5.4/drivers/net/ethernet/neterion/ |
D | s2io.c | 8174 u8 l2_type = (u8)((rxdp->Control_1 >> 37) & 0x7), ip_len; in check_L2_lro_capable() local 8199 ip_len = (u8)((*ip)->ihl); in check_L2_lro_capable() 8200 ip_len <<= 2; in check_L2_lro_capable() 8201 *tcp = (struct tcphdr *)((unsigned long)*ip + ip_len); in check_L2_lro_capable()
|
/Linux-v5.4/drivers/scsi/qla4xxx/ |
D | ql4_os.c | 6675 size_t ip_len = IP_ADDR_LEN; in qla4xxx_cmp_fw_stentry() local 6679 ip_len = IPv6_ADDR_LEN; in qla4xxx_cmp_fw_stentry() 6681 if (memcmp(fw_ddb_entry->ip_addr, flash_ddb_entry->ip_addr, ip_len)) in qla4xxx_cmp_fw_stentry()
|