| /src/external/bsd/ppp/usr.sbin/pppdump/ |
| pppdump.h | 32 struct packet { struct 37 #define PACKETPTR struct packet *
|
| pppdump.h | 32 struct packet { struct 37 #define PACKETPTR struct packet *
|
| /src/crypto/external/bsd/heimdal/dist/lib/krb5/ |
| read_message.c | 81 krb5_data packet; local 83 ret = krb5_read_message(context, p_fd, &packet); 86 ret = krb5_rd_priv (context, ac, &packet, data, NULL); 87 krb5_data_free(&packet); 98 krb5_data packet; local 100 ret = krb5_read_message(context, p_fd, &packet); 103 ret = krb5_rd_safe (context, ac, &packet, data, NULL); 104 krb5_data_free(&packet);
|
| write_message.c | 65 krb5_data packet; local 67 ret = krb5_mk_priv (context, ac, data, &packet, NULL); 70 ret = krb5_write_message(context, p_fd, &packet); 71 krb5_data_free(&packet); 82 krb5_data packet; local 83 ret = krb5_mk_safe (context, ac, data, &packet, NULL); 86 ret = krb5_write_message(context, p_fd, &packet); 87 krb5_data_free(&packet);
|
| read_message.c | 81 krb5_data packet; local 83 ret = krb5_read_message(context, p_fd, &packet); 86 ret = krb5_rd_priv (context, ac, &packet, data, NULL); 87 krb5_data_free(&packet); 98 krb5_data packet; local 100 ret = krb5_read_message(context, p_fd, &packet); 103 ret = krb5_rd_safe (context, ac, &packet, data, NULL); 104 krb5_data_free(&packet);
|
| write_message.c | 65 krb5_data packet; local 67 ret = krb5_mk_priv (context, ac, data, &packet, NULL); 70 ret = krb5_write_message(context, p_fd, &packet); 71 krb5_data_free(&packet); 82 krb5_data packet; local 83 ret = krb5_mk_safe (context, ac, data, &packet, NULL); 86 ret = krb5_write_message(context, p_fd, &packet); 87 krb5_data_free(&packet);
|
| /src/external/mpl/dhcp/dist/server/tests/ |
| load_bal_unittest.c | 29 * packet => the "packet" being processed 32 * packet->raw->secs => amount of time the client has been trying 33 * packet->raw->hlen => the length of the mac address of the client 34 * packet->raw->chaddr => the mac address of the client 58 struct packet packet; local 63 memset(&packet, 0, sizeof(struct packet)); 65 packet.raw = &raw 139 struct packet packet; local [all...] |
| load_bal_unittest.c | 29 * packet => the "packet" being processed 32 * packet->raw->secs => amount of time the client has been trying 33 * packet->raw->hlen => the length of the mac address of the client 34 * packet->raw->chaddr => the mac address of the client 58 struct packet packet; local 63 memset(&packet, 0, sizeof(struct packet)); 65 packet.raw = &raw 139 struct packet packet; local [all...] |
| /src/sys/external/bsd/drm2/dist/drm/amd/amdkfd/ |
| kfd_packet_manager_v9.c | 38 struct pm4_mes_map_process *packet; local 41 packet = (struct pm4_mes_map_process *)buffer; 44 packet->header.u32All = pm_build_pm4_header(IT_MAP_PROCESS, 46 packet->bitfields2.diq_enable = (qpd->is_debug) ? 1 : 0; 47 packet->bitfields2.process_quantum = 1; 48 packet->bitfields2.pasid = qpd->pqm->process->pasid; 49 packet->bitfields14.gds_size = qpd->gds_size & 0x3F; 50 packet->bitfields14.gds_size_hi = (qpd->gds_size >> 6) & 0xF; 51 packet->bitfields14.num_gws = qpd->num_gws; 52 packet->bitfields14.num_oac = qpd->num_oac 84 struct pm4_mes_runlist *packet; local 122 struct pm4_mes_set_resources *packet; local 150 struct pm4_mes_map_queues *packet; local 220 struct pm4_mes_unmap_queues *packet; local 293 struct pm4_mes_query_status *packet; local [all...] |
| kfd_packet_manager_vi.c | 49 struct pm4_mes_map_process *packet; local 51 packet = (struct pm4_mes_map_process *)buffer; 55 packet->header.u32All = pm_build_pm4_header(IT_MAP_PROCESS, 57 packet->bitfields2.diq_enable = (qpd->is_debug) ? 1 : 0; 58 packet->bitfields2.process_quantum = 1; 59 packet->bitfields2.pasid = qpd->pqm->process->pasid; 60 packet->bitfields3.page_table_base = qpd->page_table_base; 61 packet->bitfields10.gds_size = qpd->gds_size; 62 packet->bitfields10.num_gws = qpd->num_gws; 63 packet->bitfields10.num_oac = qpd->num_oac 82 struct pm4_mes_runlist *packet; local 121 struct pm4_mes_set_resources *packet; local 149 struct pm4_mes_map_queues *packet; local 210 struct pm4_mes_unmap_queues *packet; local 273 struct pm4_mes_query_status *packet; local 297 struct pm4_mec_release_mem *packet; local [all...] |
| kfd_packet_manager_v9.c | 38 struct pm4_mes_map_process *packet; local 41 packet = (struct pm4_mes_map_process *)buffer; 44 packet->header.u32All = pm_build_pm4_header(IT_MAP_PROCESS, 46 packet->bitfields2.diq_enable = (qpd->is_debug) ? 1 : 0; 47 packet->bitfields2.process_quantum = 1; 48 packet->bitfields2.pasid = qpd->pqm->process->pasid; 49 packet->bitfields14.gds_size = qpd->gds_size & 0x3F; 50 packet->bitfields14.gds_size_hi = (qpd->gds_size >> 6) & 0xF; 51 packet->bitfields14.num_gws = qpd->num_gws; 52 packet->bitfields14.num_oac = qpd->num_oac 84 struct pm4_mes_runlist *packet; local 122 struct pm4_mes_set_resources *packet; local 150 struct pm4_mes_map_queues *packet; local 220 struct pm4_mes_unmap_queues *packet; local 293 struct pm4_mes_query_status *packet; local [all...] |
| kfd_packet_manager_vi.c | 49 struct pm4_mes_map_process *packet; local 51 packet = (struct pm4_mes_map_process *)buffer; 55 packet->header.u32All = pm_build_pm4_header(IT_MAP_PROCESS, 57 packet->bitfields2.diq_enable = (qpd->is_debug) ? 1 : 0; 58 packet->bitfields2.process_quantum = 1; 59 packet->bitfields2.pasid = qpd->pqm->process->pasid; 60 packet->bitfields3.page_table_base = qpd->page_table_base; 61 packet->bitfields10.gds_size = qpd->gds_size; 62 packet->bitfields10.num_gws = qpd->num_gws; 63 packet->bitfields10.num_oac = qpd->num_oac 82 struct pm4_mes_runlist *packet; local 121 struct pm4_mes_set_resources *packet; local 149 struct pm4_mes_map_queues *packet; local 210 struct pm4_mes_unmap_queues *packet; local 273 struct pm4_mes_query_status *packet; local 297 struct pm4_mec_release_mem *packet; local [all...] |
| /src/usr.bin/rump_dhcpclient/ |
| bpf.c | 159 * So we pass the buffer in the API so we can loop on >1 packet. */ 165 struct bpf_hdr packet; local 179 else if ((size_t)bytes < sizeof(packet)) 185 memcpy(&packet, iface->buffer + iface->buffer_pos, 186 sizeof(packet)); 187 if (packet.bh_caplen != packet.bh_datalen) 188 goto next; /* Incomplete packet, drop. */ 189 if (iface->buffer_pos + packet.bh_caplen + packet.bh_hdrlen [all...] |
| bpf.c | 159 * So we pass the buffer in the API so we can loop on >1 packet. */ 165 struct bpf_hdr packet; local 179 else if ((size_t)bytes < sizeof(packet)) 185 memcpy(&packet, iface->buffer + iface->buffer_pos, 186 sizeof(packet)); 187 if (packet.bh_caplen != packet.bh_datalen) 188 goto next; /* Incomplete packet, drop. */ 189 if (iface->buffer_pos + packet.bh_caplen + packet.bh_hdrlen [all...] |
| /src/external/mpl/dhcp/dist/tests/DHCPv6/ |
| dhcp_client.pm | 291 sub packet { subroutine 294 my $packet = ""; 295 $packet .= chr($this->{msg_type}); 296 $packet .= $this->{trans_id}; 297 $packet .= $this->packed_options(); 298 return $packet; 428 # XXX: we aren't careful about packet boundaries and values... 431 my ($packet, $print) = @_; 433 my $msg_type = ord(substr($packet, 0, 1)); 434 my $trans_id = substr($packet, 1, 3) [all...] |
| dhcp_client.pm | 291 sub packet { subroutine 294 my $packet = ""; 295 $packet .= chr($this->{msg_type}); 296 $packet .= $this->{trans_id}; 297 $packet .= $this->packed_options(); 298 return $packet; 428 # XXX: we aren't careful about packet boundaries and values... 431 my ($packet, $print) = @_; 433 my $msg_type = ord(substr($packet, 0, 1)); 434 my $trans_id = substr($packet, 1, 3) [all...] |
| /src/lib/libresolv/ |
| res_update.c | 61 * Create a dynamic update packet for each zone and send it to the 102 u_char *packet; local 108 packet = malloc(NS_MAXMSG); 109 if (packet == NULL) { 164 packet, NS_MAXMSG); 175 n = res_nsendsigned(statp, packet, n, key, 178 n = res_nsend(statp, packet, n, answer, 204 free(packet);
|
| res_update.c | 61 * Create a dynamic update packet for each zone and send it to the 102 u_char *packet; local 108 packet = malloc(NS_MAXMSG); 109 if (packet == NULL) { 164 packet, NS_MAXMSG); 175 n = res_nsendsigned(statp, packet, n, key, 178 n = res_nsend(statp, packet, n, answer, 204 free(packet);
|
| /src/tests/lib/libc/sys/ |
| t_sendrecv.c | 50 union packet { union 67 union packet p; 84 union packet p;
|
| t_sendrecv.c | 50 union packet { union 67 union packet p; 84 union packet p;
|
| /src/crypto/external/bsd/netpgp/dist/src/lib/ |
| validate.h | 54 unsigned packet; member in struct:__anon1055
|
| /src/external/bsd/libbind/dist/resolv/ |
| res_update.c | 58 * Create a dynamic update packet for each zone and send it to the 99 u_char *packet; local 105 packet = malloc(NS_MAXMSG); 106 if (packet == NULL) { 162 packet, NS_MAXMSG); 173 n = res_nsendsigned(statp, packet, n, key, 176 n = res_nsend(statp, packet, n, answer, sizeof answer); 200 free(packet);
|
| /src/external/bsd/ppp/dist/pppd/plugins/pppoe/ |
| common.c | 37 * packet -- the PPPoE discovery packet to parse 38 * func -- function called for each tag in the packet 43 * Parses a PPPoE discovery packet, calling "func" for each tag in the packet. 47 parsePacket(PPPoEPacket *packet, ParseFunc *func, void *extra) 49 UINT16_t len = ntohs(packet->length); 53 if (PPPOE_VER(packet->vertype) != 1) { 54 error("Invalid PPPoE version (%d)", PPPOE_VER(packet->vertype)); 57 if (PPPOE_TYPE(packet->vertype) != 1) 100 PPPoEPacket packet; local [all...] |
| /src/external/bsd/wpa/dist/src/ap/ |
| eth_p_oui.c | 58 /* too short packet */ 165 u8 *packet, *p; local 171 packet = os_zalloc(packet_len); 172 if (!packet) 174 p = packet; 176 ethhdr = (struct l2_ethhdr *) packet; 188 ret = l2_packet_send(iface->l2, NULL, 0, packet, packet_len); 189 os_free(packet);
|
| /src/external/mpl/dhcp/dist/relay/tests/ |
| relay_unittests.c | 48 /* @brief Add the given option data to a DHCPv4 packet 50 * It first fills the packet.options buffer with the given pad character. 54 * @param packet pointer to the packet 55 * @param data pointer to the option data to copy into the packet's options 58 * @param pad byte value with which to initialize the packet's options buffer 60 * @return returns the new length of the packet 62 unsigned set_packet_options(struct dhcp_packet *packet, 66 memset(packet->options, pad, DHCP_MAX_OPTION_LEN); 70 memcpy(packet->options, DHCP_OPTIONS_COOKIE, new_len) 128 struct dhcp_packet packet; local 245 struct dhcp_packet packet; member in union:__anon24480 286 struct dhcp_packet packet; local [all...] |