| /linux/tools/perf/util/intel-pt-decoder/ |
| H A D | intel-pt-pkt-decoder.c | 447 int ip_len; in intel_pt_get_ip() local 453 ip_len = 0; in intel_pt_get_ip() 458 ip_len = 2; in intel_pt_get_ip() 464 ip_len = 4; in intel_pt_get_ip() 471 ip_len = 6; in intel_pt_get_ip() 477 ip_len = 8; in intel_pt_get_ip() 486 return ip_len + 1; in intel_pt_get_ip()
|
| /linux/net/core/ |
| H A D | netpoll.c | 441 int ip_len; in push_ipv4() local 443 ip_len = len + sizeof(struct udphdr) + sizeof(struct iphdr); in push_ipv4() 452 put_unaligned(htons(ip_len), &iph->tot_len); in push_ipv4() 498 int total_len, ip_len, udp_len; in netpoll_send_udp() local 506 ip_len = udp_len + sizeof(struct ipv6hdr); in netpoll_send_udp() 508 ip_len = udp_len + sizeof(struct iphdr); in netpoll_send_udp() 510 total_len = ip_len + LL_RESERVED_SPACE(np->dev); in netpoll_send_udp()
|
| /linux/fs/nfs/ |
| H A D | dns_resolve.c | 26 int ip_len; in nfs_dns_resolve_name() local 28 ip_len = dns_query(net, NULL, name, namelen, NULL, &ip_addr, NULL, in nfs_dns_resolve_name() 30 if (ip_len > 0) in nfs_dns_resolve_name() 31 ret = rpc_pton(net, ip_addr, ip_len, sa, salen); in nfs_dns_resolve_name()
|
| /linux/drivers/net/ethernet/chelsio/libcxgb/ |
| H A 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()
|
| /linux/tools/testing/selftests/net/lib/ |
| H A D | csum.c | 657 uint16_t ip_len; in recv_verify_packet_ipv4() local 662 ip_len = ntohs(iph->tot_len); in recv_verify_packet_ipv4() 663 if (ip_len > len || ip_len < sizeof(*iph)) in recv_verify_packet_ipv4() 666 len = ip_len; in recv_verify_packet_ipv4()
|
| /linux/drivers/scsi/qedi/ |
| H A D | qedi_main.c | 2041 u32 ipv6_en, dhcp_en, ip_len; in qedi_show_boot_eth_info() local 2057 ip_len = ipv6_en ? IPV6_LEN : IPV4_LEN; in qedi_show_boot_eth_info() 2068 ip_len = ipv6_en ? 5 : 8; in qedi_show_boot_eth_info() 2073 rc = snprintf(buf, ip_len, fmt, ip); in qedi_show_boot_eth_info() 2076 rc = snprintf(buf, ip_len, fmt, sub); in qedi_show_boot_eth_info() 2079 rc = snprintf(buf, ip_len, fmt, gw); in qedi_show_boot_eth_info() 2174 u32 ctrl_flags, ipv6_en, chap_en, mchap_en, ip_len; in qedi_show_boot_tgt_info() local 2198 ip_len = ipv6_en ? IPV6_LEN : IPV4_LEN; in qedi_show_boot_tgt_info() 2216 rc = snprintf(buf, ip_len, "%pI6\n", in qedi_show_boot_tgt_info() 2219 rc = snprintf(buf, ip_len, "%pI4\n", in qedi_show_boot_tgt_info()
|
| /linux/tools/testing/selftests/net/ |
| H A 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/drivers/net/ovpn/ |
| H A D | peer.c | 143 size_t ip_len; in ovpn_peer_reset_sockaddr() local 154 ip_len = sizeof(struct in_addr); in ovpn_peer_reset_sockaddr() 156 ip_len = sizeof(struct in6_addr); in ovpn_peer_reset_sockaddr() 165 memcpy(&bind->local, local_ip, ip_len); in ovpn_peer_reset_sockaddr()
|
| /linux/drivers/scsi/be2iscsi/ |
| H A D | be_mgmt.c | 557 uint32_t ip_len; in beiscsi_if_set_ip() local 574 ip_len = (ip_type < BEISCSI_IP_TYPE_V6) ? IP_V4_LEN : IP_V6_LEN; in beiscsi_if_set_ip() 575 memcpy(req->ip_params.ip_record.ip_addr.addr, ip, ip_len); in beiscsi_if_set_ip() 578 subnet, ip_len); in beiscsi_if_set_ip()
|
| /linux/net/ceph/ |
| H A D | messenger.c | 1248 int ip_len, ret; in ceph_dns_resolve_name() local 1271 ip_len = dns_query(current->nsproxy->net_ns, in ceph_dns_resolve_name() 1273 if (ip_len > 0) in ceph_dns_resolve_name() 1274 ret = ceph_pton(ip_addr, ip_len, addr, -1, NULL); in ceph_dns_resolve_name()
|
| /linux/drivers/scsi/qla4xxx/ |
| H A D | ql4_os.c | 6701 size_t ip_len = IP_ADDR_LEN; in qla4xxx_cmp_fw_stentry() local 6705 ip_len = IPv6_ADDR_LEN; in qla4xxx_cmp_fw_stentry() 6707 if (memcmp(fw_ddb_entry->ip_addr, flash_ddb_entry->ip_addr, ip_len)) in qla4xxx_cmp_fw_stentry()
|