/freebsd-11-stable/contrib/ntp/sntp/ |
H A D | crypto.h | 30 extern int make_mac(const void *pkt_data, int pkt_size, int mac_size, 32 extern int auth_md5(const void *pkt_data, int pkt_size, int mac_size,
|
H A D | crypto.c | 29 u_int pkt_size, 64 else if (!CMAC_Update(ctx, pkt_data, (size_t)pkt_size)) { 103 if (!EVP_DigestUpdate(ctx, pkt_data, pkt_size)) { 116 EVP_DigestUpdate(ctx, pkt_data, pkt_size); 129 int pkt_size, 140 if (pkt_size % 4 != 0) 144 pkt_data, (u_int)pkt_size, 165 int pkt_size, 178 pkt_ptr, (u_int)pkt_size, 181 pkt_ptr += pkt_size 25 compute_mac( u_char digest[EVP_MAX_MD_SIZE], char const * macname, void const * pkt_data, u_int pkt_size, void const * key_data, u_int key_size ) argument 127 make_mac( const void * pkt_data, int pkt_size, int mac_size, Key_T const * cmp_key, void * digest ) argument 163 auth_md5( void const * pkt_data, int pkt_size, int mac_size, Key_T const * cmp_key ) argument [all...] |
/freebsd-11-stable/tools/tools/mctest/ |
H A D | mctest.cc | 89 // @param pkt_size ///< packet Size 96 int sink(char *interface, struct in_addr *group, int pkt_size, int number, argument 161 packet = new char[pkt_size]; 173 if (recvfrom(sock, packet, pkt_size, 0, (struct sockaddr *)&recvd, 187 if (sendto(backchan, packet, pkt_size, 0, 226 int pkt_size; ///< Size of the packets member in struct:server_args 266 char packet[args->pkt_size]; 268 if (recvfrom(sock, &packet, args->pkt_size, 0, NULL, 0) < 0) { 292 // @param pkt_size ///< packet size 299 int source(char *interface, struct in_addr *group, int pkt_size, argument 455 int pkt_size = 0; ///< packet size local [all...] |
/freebsd-11-stable/usr.sbin/fwcontrol/ |
H A D | fwmpegts.c | 160 int fd, k, len, m, pkt_size, startwr, tlen; local 262 pkt_size = pkt->mode.stream.len + 4; 263 ptr = (uint32_t *)((intptr_t)pkt + pkt_size); 264 tlen -= pkt_size;
|
/freebsd-11-stable/sys/netgraph/bluetooth/include/ |
H A D | ng_btsocket_sco.h | 46 u_int16_t pkt_size; /* mtu */ member in struct:ng_btsocket_sco_rtentry
|
H A D | ng_hci.h | 592 u_int16_t pkt_size; /* max. ACL/SCO packet size (w/out header) */ member in struct:__anon151
|
/freebsd-11-stable/sbin/camcontrol/ |
H A D | fwdownload.c | 784 u_int32_t pkt_size = 0; local 811 pkt_size = max_pkt_size; 817 pkt_size = img_size; 829 scsi_ulto3b(pkt_size, &cdb.length[0]); 850 pkt_size, /* dxfer_len*/ 870 /*sector_count*/ ATA_MAKE_SECTORS(pkt_size), 871 /*lba*/ ATA_MAKE_LBA(off, pkt_size), 875 /*dxfer_len*/ pkt_size, 915 pkt_ptr += pkt_size; 916 img_size -= pkt_size; [all...] |
/freebsd-11-stable/sys/netgraph/bluetooth/l2cap/ |
H A D | ng_l2cap_var.h | 85 u_int16_t pkt_size; /* max. ACL packet size */ member in struct:ng_l2cap
|
H A D | ng_l2cap_main.c | 275 "pkt_size=%d bytes, num_pkts=%d\n", __func__, NG_NODE_NAME(l2cap->node), 279 ep->pkt_size, ep->num_pkts); 283 l2cap->pkt_size = ep->pkt_size; 491 "pkt_size %d\n" \ 497 l2cap->pkt_size,
|
H A D | ng_l2cap_llpi.c | 552 KASSERT((l2cap->pkt_size > 0), 553 ("%s: %s - invalid l2cap->pkt_size?!\n", __func__, NG_NODE_NAME(l2cap->node))); 581 if (len > l2cap->pkt_size) { 582 m = m_split(m0, l2cap->pkt_size, M_NOWAIT); 586 l2cap->pkt_size); 590 len = l2cap->pkt_size;
|
/freebsd-11-stable/sys/netgraph/bluetooth/hci/ |
H A D | ng_hci_misc.c | 107 NG_HCI_BUFF_ACL_SIZE(unit->buffer, ep->pkt_size); 110 NG_HCI_BUFF_SCO_SIZE(unit->buffer, ep->pkt_size);
|
/freebsd-11-stable/tools/tools/netmap/ |
H A D | pkt-gen.c | 259 int pkt_size; member in struct:glob_arg 1025 targ->g->pkt_size = header->caplen; 1031 paylen = targ->g->pkt_size - sizeof(*eh) - 1055 ip.ip_len = htons(targ->g->pkt_size - sizeof(*eh)); 1106 // dump_payload((void *)pkt, targ->g->pkt_size, NULL, 0); 1298 size = targ->g->pkt_size + targ->g->virt_header; 1574 size = targ->g->pkt_size + targ->g->virt_header; 1577 size = targ->g->pkt_size; 1631 targ->frag_size = targ->g->pkt_size / targ->frags; 1633 targ->frags = targ->g->pkt_size / frag_siz [all...] |
/freebsd-11-stable/sys/netgraph/bluetooth/socket/ |
H A D | ng_btsocket_sco.c | 851 rt->pkt_size = (ep->pkt_size == 0)? 60 : ep->pkt_size; 858 "%s: Updating hook \"%s\", src bdaddr=%x:%x:%x:%x:%x:%x, pkt_size=%d, " \ 862 rt->pkt_size, rt->num_pkts); 1490 tmp = pcb->rt->pkt_size; 1701 if (m->m_pkthdr.len > pcb->rt->pkt_size) { 1703 "%s: Packet too big, len=%d, pkt_size=%d\n", 1704 __func__, m->m_pkthdr.len, pcb->rt->pkt_size);
|
/freebsd-11-stable/sys/dev/oce/ |
H A D | oce_hw.h | 2052 uint32_t pkt_size; member in struct:mbx_lowlevel_test_loopback_mode::__anon7450::__anon7451 2573 uint32_t pkt_size:14; member in struct:oce_nic_rx_cqe::__anon7470::__anon7471 2610 uint32_t pkt_size:14; 2656 uint32_t pkt_size:14; member in struct:oce_nic_rx_cqe_v1::__anon7472::__anon7473 2692 uint32_t pkt_size:14; 4014 uint32_t pkt_size:14; member in struct:nic_hwlro_singleton_cqe 4047 uint32_t pkt_size:14; 4138 uint32_t pkt_size:14; member in struct:nic_hwlro_cqe_part2 4168 uint32_t pkt_size:14;
|
H A D | oce_queue.c | 1201 num_frags = cqe->pkt_size / rq->cfg.frag_size; 1202 if(cqe->pkt_size % rq->cfg.frag_size) 1206 if(!cqe->pkt_size) 1277 if((cqe->u0.s.num_fragments==0)&&(cqe->u0.s.pkt_size == 0)&&(cqe->u0.s.error == 0))
|
H A D | oce_if.c | 129 uint16_t pkt_size; member in struct:oce_common_cqe_info 1571 uint32_t len = cqe_info->pkt_size; 1641 cq_info.pkt_size = cqe->pkt_size; 1650 cq_info.pkt_size = cqe2->coalesced_size; 1661 cq_info.num_frags = cq_info.pkt_size / rq->cfg.frag_size; 1662 if(cq_info.pkt_size % rq->cfg.frag_size) 1706 rq->rx_stats.rx_bytes += cq_info.pkt_size; 1726 len = cqe->u0.s.pkt_size; 1748 cq_info.pkt_size [all...] |
H A D | oce_mbox.c | 1424 uint32_t loopback_type, uint32_t pkt_size, uint32_t num_pkts, 1446 fwcmd->params.req.pkt_size = pkt_size; 1423 oce_mbox_cmd_test_loopback(POCE_SOFTC sc, uint32_t port_num, uint32_t loopback_type, uint32_t pkt_size, uint32_t num_pkts, uint64_t pattern) argument
|
H A D | oce_if.h | 1052 uint32_t loopback_type, uint32_t pkt_size, uint32_t num_pkts,
|
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/ |
H A D | GDBRemoteCommunication.cpp | 418 size_t pkt_size = m_bytes.size(); 423 if (pkt_size < 5) 442 pkt_size - 493 (int)(pkt_size), m_bytes.c_str(), (uint8_t)packet_checksum,
|
/freebsd-11-stable/sys/dev/hyperv/netvsc/ |
H A D | if_hn.c | 3044 int pkt_hlen, pkt_size; local 3047 pkt_size = HN_PKTSIZE(m_head, txr->hn_agg_align); 3048 if (pkt_size < txr->hn_chim_size) { 3049 chim = hn_try_txagg(ifp, txr, txd, pkt_size);
|