/openbmc/linux/net/core/ |
H A D | selftests.c | 63 int iplen, size; in net_test_get_skb() local 124 iplen = sizeof(*ihdr) + sizeof(*shdr) + attr->size; in net_test_get_skb() 126 iplen += sizeof(*thdr); in net_test_get_skb() 128 iplen += sizeof(*uhdr); in net_test_get_skb() 131 iplen = attr->max_size - sizeof(*ehdr); in net_test_get_skb() 133 ihdr->tot_len = htons(iplen); in net_test_get_skb()
|
H A D | pktgen.c | 2864 int datalen, iplen; in fill_packet_ipv4() local 2952 iplen = 20 + 8 + datalen; in fill_packet_ipv4() 2953 iph->tot_len = htons(iplen); in fill_packet_ipv4()
|
/openbmc/u-boot/net/ |
H A D | bootp.c | 713 int extlen, pktlen, iplen; in bootp_request() local 810 iplen = BOOTP_HDR_SIZE - OPT_FIELD_SIZE + extlen; in bootp_request() 811 pktlen = eth_hdr_size + IP_UDP_HDR_SIZE + iplen; in bootp_request() 813 net_set_udp_header(iphdr, bcast_ip, PORT_BOOTPS, PORT_BOOTPC, iplen); in bootp_request() 972 int pktlen, iplen, extlen; in dhcp_send_request_packet() local 1022 iplen = BOOTP_HDR_SIZE - OPT_FIELD_SIZE + extlen; in dhcp_send_request_packet() 1023 pktlen = eth_hdr_size + IP_UDP_HDR_SIZE + iplen; in dhcp_send_request_packet() 1025 net_set_udp_header(iphdr, bcast_ip, PORT_BOOTPS, PORT_BOOTPC, iplen); in dhcp_send_request_packet()
|
/openbmc/openbmc-test-automation/network/ |
H A D | test_network_nping.robot | 70 # Destination IP:80 S ttl=64 id=39113 iplen=40 seq=629782493 win=1480 72 # Destination IP:80 S ttl=64 id=39113 iplen=40 seq=629782493 win=1480 74 # Source IP:37577 SA ttl=49 id=0 iplen=44 seq=1078301364 win=5840 <mss 1380>
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-security/nmap/files/ |
H A D | 0002-Fix-building-with-libc.patch | 74 if( (int)pktlen > (iplen+tcplen) ){ 75 … if( payload.storeRecvData(pkt+iplen+tcplen, pktlen-iplen-tcplen)!=OP_FAILURE)
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_selftest.c | 86 int iplen; in mlx5e_test_get_udp_skb() local 123 iplen = sizeof(struct iphdr) + sizeof(struct udphdr) + in mlx5e_test_get_udp_skb() 125 iph->tot_len = htons(iplen); in mlx5e_test_get_udp_skb()
|
/openbmc/linux/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/ |
H A D | chcr_ktls.c | 997 u32 ctrl, iplen, maclen; in chcr_ktls_write_tcp_options() local 1009 iplen = skb_network_header_len(skb); in chcr_ktls_write_tcp_options() 1059 ip6->payload_len = htons(pktlen - maclen - iplen); in chcr_ktls_write_tcp_options() 1064 TXPKT_IPHDR_LEN_V(iplen); in chcr_ktls_write_tcp_options() 1074 tcp = (struct tcphdr *)(buf + maclen + iplen); in chcr_ktls_write_tcp_options() 1573 u32 ctrl, iplen, maclen, wr_mid = 0, len16; in chcr_ktls_tunnel_pkt() local 1613 iplen = skb_network_header_len(skb); in chcr_ktls_tunnel_pkt() 1637 TXPKT_IPHDR_LEN_V(iplen); in chcr_ktls_tunnel_pkt()
|
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_selftests.c | 68 int iplen, size; in stmmac_test_get_udp_skb() local 171 iplen = sizeof(*ihdr) + sizeof(*shdr) + attr->size; in stmmac_test_get_udp_skb() 173 iplen += sizeof(*thdr); in stmmac_test_get_udp_skb() 175 iplen += sizeof(*uhdr); in stmmac_test_get_udp_skb() 178 iplen = attr->max_size - sizeof(*ehdr); in stmmac_test_get_udp_skb() 180 ihdr->tot_len = htons(iplen); in stmmac_test_get_udp_skb()
|
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_txrx.c | 687 u16 iplen; in otx2_sqe_add_ext() local 696 iplen = htons(ext->lso_sb - skb_network_offset(skb)); in otx2_sqe_add_ext() 698 ip_hdr(skb)->tot_len = iplen; in otx2_sqe_add_ext() 701 ipv6_hdr(skb)->payload_len = iplen; in otx2_sqe_add_ext()
|
/openbmc/linux/drivers/infiniband/hw/irdma/ |
H A D | puda.c | 428 u32 iplen, l4len; in irdma_puda_send() local 437 iplen = 5; in irdma_puda_send() 440 iplen = 10; in irdma_puda_send() 468 FIELD_PREP(IRDMA_UDA_QPSQ_IPLEN, iplen) | in irdma_puda_send()
|
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | t4fw_api.h | 551 __be16 iplen; member 562 __be16 iplen; member
|
H A D | sge.c | 1480 wr->u.udpseg.iplen = cpu_to_be16(skb_network_header_len(skb)); in write_eo_udp_wr() 2239 wr->u.tcpseg.iplen = cpu_to_be16(skb_network_header_len(skb)); in write_eo_wr()
|