/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/libcxgb/ |
D | libcxgb_cm.c | 49 int ip_len = (CHELSIO_CHIP_VERSION(type) <= CHELSIO_T5) ? in cxgb_get_4tuple() local 55 ((u8 *)(req + 1) + eth_len + ip_len); in cxgb_get_4tuple()
|
/kernel/liteos_m/kal/libc/newlib/porting/include/netinet/ |
D | ip.h | 83 uint16_t ip_len; member
|
/kernel/linux/linux-5.10/net/core/ |
D | netpoll.c | 385 int total_len, ip_len, udp_len; in netpoll_send_udp() local 397 ip_len = udp_len + sizeof(*ip6h); in netpoll_send_udp() 399 ip_len = udp_len + sizeof(*iph); in netpoll_send_udp() 401 total_len = ip_len + LL_RESERVED_SPACE(np->dev); in netpoll_send_udp() 462 put_unaligned(htons(ip_len), &(iph->tot_len)); in netpoll_send_udp()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/arch/s390/kernel/ |
D | ipl.c | 586 int i, ip_len; in reipl_generic_vmparm_store() local 589 ip_len = len; in reipl_generic_vmparm_store() 591 ip_len--; in reipl_generic_vmparm_store() 593 if (ip_len > vmparm_max) in reipl_generic_vmparm_store() 597 for (i = 0; i < ip_len; i++) in reipl_generic_vmparm_store() 602 ipb->ccw.vm_parm_len = ip_len; in reipl_generic_vmparm_store() 603 if (ip_len > 0) { in reipl_generic_vmparm_store() 605 memcpy(ipb->ccw.vm_parm, buf, ip_len); in reipl_generic_vmparm_store() 606 ASCEBC(ipb->ccw.vm_parm, ip_len); in reipl_generic_vmparm_store()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/scsi/qedi/ |
D | qedi_main.c | 2052 u32 ipv6_en, dhcp_en, ip_len; in qedi_show_boot_eth_info() local 2068 ip_len = ipv6_en ? IPV6_LEN : IPV4_LEN; in qedi_show_boot_eth_info() 2079 ip_len = ipv6_en ? 5 : 8; in qedi_show_boot_eth_info() 2084 rc = snprintf(buf, ip_len, fmt, ip); in qedi_show_boot_eth_info() 2087 rc = snprintf(buf, ip_len, fmt, sub); in qedi_show_boot_eth_info() 2090 rc = snprintf(buf, ip_len, fmt, gw); in qedi_show_boot_eth_info() 2186 u32 ctrl_flags, ipv6_en, chap_en, mchap_en, ip_len; in qedi_show_boot_tgt_info() local 2210 ip_len = ipv6_en ? IPV6_LEN : IPV4_LEN; in qedi_show_boot_tgt_info() 2228 rc = snprintf(buf, ip_len, "%pI6\n", in qedi_show_boot_tgt_info() 2231 rc = snprintf(buf, ip_len, "%pI4\n", in qedi_show_boot_tgt_info()
|
/kernel/linux/linux-5.10/drivers/scsi/be2iscsi/ |
D | be_mgmt.c | 549 uint32_t ip_len; in beiscsi_if_set_ip() local 566 ip_len = (ip_type < BEISCSI_IP_TYPE_V6) ? IP_V4_LEN : IP_V6_LEN; in beiscsi_if_set_ip() 567 memcpy(req->ip_params.ip_record.ip_addr.addr, ip, ip_len); in beiscsi_if_set_ip() 570 subnet, ip_len); in beiscsi_if_set_ip()
|
/kernel/linux/linux-5.10/net/ceph/ |
D | messenger.c | 1864 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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/neterion/ |
D | s2io.c | 8164 u8 l2_type = (u8)((rxdp->Control_1 >> 37) & 0x7), ip_len; in check_L2_lro_capable() local 8189 ip_len = (u8)((*ip)->ihl); in check_L2_lro_capable() 8190 ip_len <<= 2; in check_L2_lro_capable() 8191 *tcp = (struct tcphdr *)((unsigned long)*ip + ip_len); in check_L2_lro_capable()
|
/kernel/linux/linux-5.10/drivers/scsi/qla4xxx/ |
D | ql4_os.c | 6698 size_t ip_len = IP_ADDR_LEN; in qla4xxx_cmp_fw_stentry() local 6702 ip_len = IPv6_ADDR_LEN; in qla4xxx_cmp_fw_stentry() 6704 if (memcmp(fw_ddb_entry->ip_addr, flash_ddb_entry->ip_addr, ip_len)) in qla4xxx_cmp_fw_stentry()
|