Home
last modified time | relevance | path

Searched refs:iplen (Results 1 – 22 of 22) sorted by relevance

/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Dbcm_l2_filter.c112 int iplen; in bcm_l2_filter_gratuitous_arp() local
131 iplen = IPV4_ADDR_LEN; in bcm_l2_filter_gratuitous_arp()
136 iplen = IPV6_ADDR_LEN; in bcm_l2_filter_gratuitous_arp()
137 minlen = target_ip_offset + iplen; in bcm_l2_filter_gratuitous_arp()
163 if (bcmp(data + send_ip_offset, data + target_ip_offset, iplen) == 0) { in bcm_l2_filter_gratuitous_arp()
221 int iplen; /* IP frame length */ in get_pkt_ip_type() local
228 &iplen, &ethertype, &snap) != 0) in get_pkt_ip_type()
236 if (iplen < IPV4_OPTIONS_OFFSET || (IP_VER(iph) != IP_VER_4)) { in get_pkt_ip_type()
248 if (ippktlen < iplen) { in get_pkt_ip_type()
250 iplen = ippktlen; in get_pkt_ip_type()
[all …]
H A Ddhd_linux.c6197 uint16 iplen = (iph->version_ihl & 0xf) * sizeof(uint32); in dhd_rx_frame() local
6199 uint8 *icmph = (uint8 *)iph + iplen; in dhd_rx_frame()
6220 uint8 *udph = (uint8 *)iph + iplen; in dhd_rx_frame()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Dbcm_l2_filter.c112 int iplen; in bcm_l2_filter_gratuitous_arp() local
131 iplen = IPV4_ADDR_LEN; in bcm_l2_filter_gratuitous_arp()
136 iplen = IPV6_ADDR_LEN; in bcm_l2_filter_gratuitous_arp()
137 minlen = target_ip_offset + iplen; in bcm_l2_filter_gratuitous_arp()
163 if (bcmp(data + send_ip_offset, data + target_ip_offset, iplen) == 0) { in bcm_l2_filter_gratuitous_arp()
221 int iplen; /* IP frame length */ in get_pkt_ip_type() local
228 &iplen, &ethertype, &snap) != 0) in get_pkt_ip_type()
236 if (iplen < IPV4_OPTIONS_OFFSET || (IP_VER(iph) != IP_VER_4)) { in get_pkt_ip_type()
248 if (ippktlen < iplen) { in get_pkt_ip_type()
250 iplen = ippktlen; in get_pkt_ip_type()
[all …]
H A Ddhd_linux.c6183 uint16 iplen = (iph->version_ihl & 0xf) * sizeof(uint32); in dhd_rx_frame() local
6185 uint8 *icmph = (uint8 *)iph + iplen; in dhd_rx_frame()
6206 uint8 *udph = (uint8 *)iph + iplen; in dhd_rx_frame()
/OK3568_Linux_fs/u-boot/net/
H A Dbootp.c701 int extlen, pktlen, iplen; in bootp_request() local
798 iplen = BOOTP_HDR_SIZE - OPT_FIELD_SIZE + extlen; in bootp_request()
799 pktlen = eth_hdr_size + IP_UDP_HDR_SIZE + iplen; in bootp_request()
801 net_set_udp_header(iphdr, bcast_ip, PORT_BOOTPS, PORT_BOOTPC, iplen); in bootp_request()
957 int pktlen, iplen, extlen; in dhcp_send_request_packet() local
1007 iplen = BOOTP_HDR_SIZE - OPT_FIELD_SIZE + extlen; in dhcp_send_request_packet()
1008 pktlen = eth_hdr_size + IP_UDP_HDR_SIZE + iplen; in dhcp_send_request_packet()
1010 net_set_udp_header(iphdr, bcast_ip, PORT_BOOTPS, PORT_BOOTPC, iplen); in dhcp_send_request_packet()
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-security/nmap/files/
H A D0002-Fix-building-with-libc.patch74 if( (int)pktlen > (iplen+tcplen) ){
75 … if( payload.storeRecvData(pkt+iplen+tcplen, pktlen-iplen-tcplen)!=OP_FAILURE)
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_selftest.c109 int iplen; in mlx5e_test_get_udp_skb() local
146 iplen = sizeof(struct iphdr) + sizeof(struct udphdr) + in mlx5e_test_get_udp_skb()
148 iph->tot_len = htons(iplen); in mlx5e_test_get_udp_skb()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_txrx.c535 u16 iplen; in otx2_sqe_add_ext() local
544 iplen = htons(ext->lso_sb - skb_network_offset(skb)); in otx2_sqe_add_ext()
546 ip_hdr(skb)->tot_len = iplen; in otx2_sqe_add_ext()
549 ipv6_hdr(skb)->payload_len = iplen; in otx2_sqe_add_ext()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/
H A Dchcr_ktls.c998 u32 ctrl, iplen, maclen; in chcr_ktls_write_tcp_options() local
1010 iplen = skb_network_header_len(skb); in chcr_ktls_write_tcp_options()
1060 ip6->payload_len = htons(pktlen - maclen - iplen); in chcr_ktls_write_tcp_options()
1065 TXPKT_IPHDR_LEN_V(iplen); in chcr_ktls_write_tcp_options()
1075 tcp = (struct tcphdr *)(buf + maclen + iplen); in chcr_ktls_write_tcp_options()
1575 u32 ctrl, iplen, maclen, wr_mid = 0, len16; in chcr_ktls_tunnel_pkt() local
1615 iplen = skb_network_header_len(skb); in chcr_ktls_tunnel_pkt()
1639 TXPKT_IPHDR_LEN_V(iplen); in chcr_ktls_tunnel_pkt()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac-rk-tool.c344 int iplen, size, nfrags; in dwmac_rk_get_skb() local
420 iplen = sizeof(*ihdr) + sizeof(*shdr) + attr->size; in dwmac_rk_get_skb()
422 iplen += sizeof(*thdr); in dwmac_rk_get_skb()
424 iplen += sizeof(*uhdr); in dwmac_rk_get_skb()
426 ihdr->tot_len = htons(iplen); in dwmac_rk_get_skb()
H A Dstmmac_selftests.c68 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()
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/i40iw/
H A Di40iw_puda.c375 u32 iplen, l4len; in i40iw_puda_send() local
384 iplen = 5; in i40iw_puda_send()
387 iplen = 10; in i40iw_puda_send()
397 LS_64(iplen, I40IW_UDA_QPSQ_IPLEN) | LS_64(1, I40IW_UDA_QPSQ_L4T) | in i40iw_puda_send()
/OK3568_Linux_fs/external/security/rk_tee_user/v2/host/openssl/include/openssl/
H A Dx509_vfy.h605 const unsigned char *ip, size_t iplen);
/OK3568_Linux_fs/external/security/rk_tee_user/v1/export-user_ta/host_include/openssl/
H A Dx509_vfy.h573 const unsigned char *ip, size_t iplen);
/OK3568_Linux_fs/external/security/rk_tee_user/v1/export-user_ta/include/openssl/
H A Dx509_vfy.h573 const unsigned char *ip, size_t iplen);
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/include/openssl/
H A Dx509_vfy.h648 size_t iplen);
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/host_include/openssl/
H A Dx509_vfy.h648 size_t iplen);
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/include/openssl/
H A Dx509_vfy.h648 size_t iplen);
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/host_include/openssl/
H A Dx509_vfy.h648 size_t iplen);
/OK3568_Linux_fs/kernel/net/core/
H A Dpktgen.c2725 int datalen, iplen; in fill_packet_ipv4() local
2813 iplen = 20 + 8 + datalen; in fill_packet_ipv4()
2814 iph->tot_len = htons(iplen); in fill_packet_ipv4()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/cxgb4/
H A Dt4fw_api.h551 __be16 iplen; member
562 __be16 iplen; member
H A Dsge.c1480 wr->u.udpseg.iplen = cpu_to_be16(skb_network_header_len(skb)); in write_eo_udp_wr()
2233 wr->u.tcpseg.iplen = cpu_to_be16(skb_network_header_len(skb)); in write_eo_wr()