/freebsd/contrib/wpa/src/eap_peer/ |
H A D | eap_pwd.c | 873 u16 tot_len = 0; in eap_pwd_process() local 957 tot_len = WPA_GET_BE16(pos); in eap_pwd_process() 959 "total length = %d", tot_len); in eap_pwd_process() 960 if (tot_len > 15000) in eap_pwd_process() 968 data->inbuf = wpabuf_alloc(tot_len); in eap_pwd_process() 1070 tot_len = len; in eap_pwd_process() 1076 "length = %d", tot_len); in eap_pwd_process() 1087 wpabuf_put_be16(resp, tot_len); in eap_pwd_process()
|
/freebsd/sys/ofed/drivers/infiniband/core/ |
H A D | ib_ud_header.c | 136 { STRUCT_FIELD(ip4, tot_len), 294 iph.ip_len = header->ip4.tot_len; in ib_ud_ip4_csum() 377 header->ip4.tot_len = in ib_ud_header_init()
|
/freebsd/sys/dev/mlx5/mlx5_en/ |
H A D | mlx5_en_rx.c | 133 uint16_t tot_len; in mlx5e_lro_update_hdr() local 149 tot_len = be32_to_cpu(cqe->byte_cnt) - ETHER_HDR_LEN; in mlx5e_lro_update_hdr() 200 ip4->ip_len = cpu_to_be16(tot_len); in mlx5e_lro_update_hdr() 205 ip6->ip6_plen = cpu_to_be16(tot_len - in mlx5e_lro_update_hdr()
|
/freebsd/sys/dev/qlnx/qlnxe/ |
H A D | ecore_tcp_ip.h | 69 u16 tot_len; member
|
H A D | ecore_iwarp.c | 2064 *payload_len = ntohs(iph->tot_len) - ip_hlen; in ecore_iwarp_parse_rx_pkt()
|
/freebsd/contrib/wpa/src/eap_server/ |
H A D | eap_server_pwd.c | 853 u16 tot_len; in eap_pwd_process() local 891 tot_len = WPA_GET_BE16(pos); in eap_pwd_process() 893 "length = %d", tot_len); in eap_pwd_process() 894 if (tot_len > 15000) in eap_pwd_process() 901 data->inbuf = wpabuf_alloc(tot_len); in eap_pwd_process()
|
/freebsd/sys/dev/netmap/ |
H A D | netmap_offloadings.c | 83 iph->tot_len = htobe16(len); in gso_fix_segment() 84 nm_prdis("ip total length %u", be16toh(ip->tot_len)); in gso_fix_segment()
|
H A D | netmap_kern.h | 2231 uint16_t tot_len; member
|
/freebsd/sys/dev/cxgbe/crypto/ |
H A D | t6_kern_tls.c | 898 u_int wr_len, tot_len; in t6_ktls_parse_pkt() local 966 tot_len = 0; in t6_ktls_parse_pkt() 982 tot_len += roundup2(wr_len, EQ_ESIZE); in t6_ktls_parse_pkt() 992 MPASS(tot_len != 0); in t6_ktls_parse_pkt() 1007 tot_len += roundup2(wr_len, EQ_ESIZE); in t6_ktls_parse_pkt() 1011 tot_len += EQ_ESIZE; in t6_ktls_parse_pkt() 1028 tot_len += roundup2(wr_len, EQ_ESIZE); in t6_ktls_parse_pkt() 1030 set_mbuf_len16(m, tot_len / 16); in t6_ktls_parse_pkt()
|
/freebsd/contrib/wpa/src/common/ |
H A D | dhcp.h | 20 #define tot_len ip_len macro
|
/freebsd/sys/dev/vnic/ |
H A D | q_struct.h | 572 uint64_t tot_len:20; /* W0 */ member 581 uint64_t tot_len:20;
|
H A D | nicvf_queues.c | 1773 hdr->tot_len = len; in nicvf_sq_add_hdr_subdesc()
|
/freebsd/sys/ofed/include/rdma/ |
H A D | ib_pack.h | 238 __be16 tot_len; member
|
/freebsd/sys/netpfil/pf/ |
H A D | pf_norm.c | 1110 pf_counter_u64_add_protected(&r->bytes[pd->dir == PF_OUT], pd->tot_len); in pf_normalize_ip() 1272 pf_counter_u64_add_protected(&r->bytes[pd->dir == PF_OUT], pd->tot_len); in pf_normalize_ip6() 1444 pf_counter_u64_add_protected(&r->bytes[pd->dir == PF_OUT], pd->tot_len); in pf_normalize_tcp() 2078 while (off + chunk_off < pd->tot_len) { in pf_scan_sctp() 2174 if (off + chunk_off != pd->tot_len) in pf_scan_sctp() 2251 pf_counter_u64_add_protected(&r->bytes[dir == PF_OUT], pd->tot_len); in pf_normalize_sctp() 2256 if ((pd->tot_len - off - sizeof(struct sctphdr)) % 4) in pf_normalize_sctp()
|
H A D | pf.c | 8129 pd.tot_len = ntohs(h->ip_len); in pf_test() 8245 pd.p_len = pd.tot_len - off; in pf_test() 8458 pd.tot_len); in pf_test() 8479 pd.tot_len); in pf_test() 8485 pd.tot_len); in pf_test() 8491 pd.tot_len); in pf_test() 8495 s->bytes[dirndx] += pd.tot_len; in pf_test() 9041 pd.tot_len); in pf_test6() 9058 pd.tot_len); in pf_test6() 9064 pd.tot_len); in pf_test6() [all …]
|
/freebsd/sys/dev/lge/ |
H A D | if_lge.c | 1097 int frag = 0, tot_len = 0; in lge_encap() local 1110 tot_len += m->m_len; in lge_encap() 1123 cur_tx->lge_ctl = LGE_TXCTL_WANTINTR|LGE_FRAGCNT(frag)|tot_len; in lge_encap()
|
/freebsd/sys/netinet/tcp_stacks/ |
H A D | bbr.c | 11834 uint32_t tot_len = 0; in bbr_output_wtime() local 12113 tot_len = tp->t_maxseg; in bbr_output_wtime() 12689 if (tot_len) in bbr_output_wtime() 12693 if (tot_len == 0) { in bbr_output_wtime() 12737 if (tot_len == 0) in bbr_output_wtime() 13697 tot_len += len; in bbr_output_wtime() 13721 tot_len += (len + optlen + ipoptlen); in bbr_output_wtime() 13809 if ((tot_len + len) && (len >= tp->t_maxseg)) { in bbr_output_wtime() 13812 (tot_len + len), cts, 0); in bbr_output_wtime() 13819 tot_len); in bbr_output_wtime() [all …]
|
H A D | rack.c | 19940 uint32_t cts, uint32_t ms_cts, struct timeval *tv, long tot_len, int *send_err) in rack_fast_output() argument 20370 tot_len += len; in rack_fast_output() 20417 slot = rack_get_pacing_delay(rack, tp, tot_len, NULL, segsiz, __LINE__); in rack_fast_output() 20418 rack_start_hpts_timer(rack, tp, cts, slot, tot_len, 0); in rack_fast_output() 20428 tp->tcp_cnt_counters[CNT_OF_MSS_OUT] += ((tot_len + segsiz - 1) / segsiz); in rack_fast_output()
|
/freebsd/sys/netinet/ |
H A D | sctp_output.c | 3459 int tot_len, rem_len, cmsg_data_len, cmsg_data_off, off; in sctp_find_cmsg() local 3467 tot_len = SCTP_BUF_LEN(control); in sctp_find_cmsg() 3468 for (off = 0; off < tot_len; off += CMSG_ALIGN(cmh.cmsg_len)) { in sctp_find_cmsg() 3469 rem_len = tot_len - off; in sctp_find_cmsg() 3564 int tot_len, rem_len, cmsg_data_len, cmsg_data_off, off; in sctp_process_cmsgs_for_init() local 3566 tot_len = SCTP_BUF_LEN(control); in sctp_process_cmsgs_for_init() 3567 for (off = 0; off < tot_len; off += CMSG_ALIGN(cmh.cmsg_len)) { in sctp_process_cmsgs_for_init() 3568 rem_len = tot_len - off; in sctp_process_cmsgs_for_init() 3735 int tot_len, rem_len, cmsg_data_len, cmsg_data_off, off; in sctp_findassociation_cmsgs() local 3737 tot_len = SCTP_BUF_LEN(control); in sctp_findassociation_cmsgs() [all …]
|
/freebsd/sys/dev/cxgbe/cudbg/ |
H A D | cudbg_lib.c | 2547 unsigned long tot_len, struct cudbg_error *cudbg_err) in read_fw_mem() argument 2585 rc = get_payload_range(padap, mem_type, tot_len, in read_fw_mem() 2603 bytes_left = tot_len; in read_fw_mem() 2604 scratch_buff.size = tot_len; in read_fw_mem()
|
/freebsd/tools/tools/netmap/ |
H A D | lb.c | 62 u_int16_t tot_len; member
|
/freebsd/sys/net/ |
H A D | pfvar.h | 1551 u_int64_t tot_len; /* Make Mickey money */ member
|