/illumos-gate/usr/src/boot/sys/boot/i386/common/ |
H A D | drv.c | 56 static struct edd_packet packet; variable in typeref:struct:edd_packet 67 packet.len = sizeof(struct edd_packet); 68 packet.count = nblk; 69 packet.off = VTOPOFF(buf); 70 packet.seg = VTOPSEG(buf); 71 packet.lba = lba; 76 v86.ds = VTOPSEG(&packet); 77 v86.esi = VTOPOFF(&packet); 101 packet.len = sizeof(struct edd_packet); 102 packet [all...] |
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | nic.h | 33 unsigned char *packet; member in struct:nic
|
/illumos-gate/usr/src/lib/krb5/kadm5/clnt/ |
H A D | chpw.c | 22 krb5_data *packet) 43 packet->length = 6 + ap_req->length + cipherpw.length; 44 packet->data = (char *) malloc(packet->length); 45 if (packet->data == NULL) 50 ptr = packet->data; 54 *ptr++ = (packet->length>> 8) & 0xff; 55 *ptr++ = packet->length & 0xff; 87 krb5int_rd_chpw_rep(krb5_context context, krb5_auth_context auth_context, krb5_data *packet, int *result_code, krb5_data *result_data) argument 101 if (packet 17 krb5int_mk_chpw_req( krb5_context context, krb5_auth_context auth_context, krb5_data *ap_req, char *passwd, krb5_data *packet) argument [all...] |
/illumos-gate/usr/src/lib/libresolv2/common/resolv/ |
H A D | res_update.c | 56 * Create a dynamic update packet for each zone and send it to the 97 u_char *packet; local 103 packet = malloc(NS_MAXMSG); 104 if (packet == NULL) { 160 packet, NS_MAXMSG); 171 n = res_nsendsigned(statp, packet, n, key, 174 n = res_nsend(statp, packet, n, answer, sizeof answer); 198 free(packet);
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | chpw.c | 22 krb5_data *packet) 43 packet->length = 6 + ap_req->length + cipherpw.length; 44 packet->data = (char *) malloc(packet->length); 45 if (packet->data == NULL) 50 ptr = packet->data; 54 *ptr++ = (packet->length>> 8) & 0xff; 55 *ptr++ = packet->length & 0xff; 84 krb5int_rd_chpw_rep(krb5_context context, krb5_auth_context auth_context, krb5_data *packet, int *result_code, krb5_data *result_data) argument 98 if (packet 17 krb5int_mk_chpw_req( krb5_context context, krb5_auth_context auth_context, krb5_data *ap_req, char *passwd, krb5_data *packet) argument 352 krb5int_rd_setpw_rep( krb5_context context, krb5_auth_context auth_context, krb5_data *packet, int *result_code, krb5_data *result_data ) argument [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/ |
H A D | main.c | 50 char *packet; variable 180 * Allocate the buffer to hold the RIPng packet. In reality, it will be 184 packet = (char *)malloc(IPV6_MAX_PACKET); 185 if (packet == NULL) { 189 msg = (struct rip6 *)packet;
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | demand.c | 59 struct packet { struct 61 struct packet *next; 65 static struct packet *pend_q; 66 static struct packet *pend_qtail; 136 struct packet *pkt, *nextpkt; 267 * We apply the active_filter to see if we want this packet to 275 struct packet *pkt; 286 pkt = (struct packet *) malloc(sizeof(struct packet) + len); 308 struct packet *pk [all...] |
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | radius_packet.c | 49 uint8_t *ptr; /* Pointer to RADIUS packet data */ 51 /* packet. */ 54 radius_packet_t *packet; /* Outbound RADIUS packet */ local 63 * Create a RADIUS packet with minimal length for now. 67 packet = (radius_packet_t *)data; 68 packet->code = req_data->code; 69 packet->identifier = req_data->identifier; 70 bcopy(req_data->authenticator, packet->authenticator, 72 ptr = packet 168 radius_packet_t *packet; local [all...] |
/illumos-gate/usr/src/uts/common/ipp/dlcosmk/ |
H A D | dlcosmkddi.c | 332 dlcosmk_invoke_action(ipp_action_id_t aid, ipp_packet_t *packet) argument 339 ASSERT(packet != NULL); 342 mp = ipp_packet_get_data(packet); 343 priv = (ip_priv_t *)ipp_packet_get_private(packet); 348 /* dlcosmk packet as configured */ 353 /* return packet with next action set */ 354 return (ipp_packet_next(packet, dlcosmk_data->next_action));
|
/illumos-gate/usr/src/uts/common/ipp/ipgpc/ |
H A D | classifierddi.c | 373 * ipgpc_invoke_action(aid, packet) 375 * packet processing function for ipgpc 377 * given packet the selector information is parsed and the classify 381 * action, associated with that class, are added to packet 385 ipgpc_invoke_action(ipp_action_id_t aid, ipp_packet_t *packet) argument 399 /* extract packet data */ 400 mp = ipp_packet_get_data(packet); 403 priv = (ip_priv_t *)ipp_packet_get_private(packet); 422 * Translate the callout_pos into the direction the packet is traveling 434 /* parse the packet fro [all...] |
H A D | classifier.c | 70 * common_classify(packet, fid_table, slctrs_srchd) 76 common_classify(ipgpc_packet_t *packet, ht_match_t *fid_table, argument 81 /* Find on packet direction */ 83 ipgpc_findfilters(IPGPC_TABLE_DIR, packet->direction, fid_table); 89 /* Find on IF_INDEX of packet */ 91 ipgpc_findfilters(IPGPC_TABLE_IF, packet->if_index, fid_table); 99 ipgpc_findfilters(IPGPC_BA_DSID, packet->dsfield, fid_table); 105 /* Find on UID of packet */ 107 ipgpc_findfilters(IPGPC_TABLE_UID, packet->uid, fid_table); 113 /* Find on PROJID of packet */ 225 ipgpc_classify(int af, ipgpc_packet_t *packet) argument 487 get_port_info(ipgpc_packet_t *packet, void *iph, int af, mblk_t *mp) argument 588 find_ids(ipgpc_packet_t *packet, mblk_t *mp) argument 608 parse_packet(ipgpc_packet_t *packet, mblk_t *mp) argument 635 parse_packet6(ipgpc_packet_t *packet, mblk_t *mp) argument [all...] |
/illumos-gate/usr/src/uts/common/ipp/meters/ |
H A D | tswtclddi.c | 494 tswtcl_invoke_action(ipp_action_id_t aid, ipp_packet_t *packet) argument 502 mp = ipp_packet_get_data(packet); 506 /* tswtcl packet as configured */ 510 return (ipp_packet_next(packet, next_action));
|
H A D | tokenmtddi.c | 681 tokenmt_invoke_action(ipp_action_id_t aid, ipp_packet_t *packet) argument 689 mp = ipp_packet_get_data(packet); 693 /* meter packet as configured */ 697 return (ipp_packet_next(packet, next_action));
|
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/ |
H A D | RequestHandler.java | 56 private DatagramPacket packet = null; // Packet for datagram requests. field in class:RequestHandler 122 // Request arrived via datagram. Set the incoming packet, spawn 137 packet = packet_in; 138 clientAddr = packet.getAddress(); 139 port = packet.getPort(); 237 byte[] inbuf = packet.getData(); 439 // Format the outgoing packet. 655 * @param dis The input stream containing the packet. 709 // otherwise, the packet is from an earlier version 732 // If we've come via TCP, clear the packet lengt [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lw8/fruaccess/ |
H A D | libfruaccess.c | 72 int fru_get_packets(segment_hdl_t segment, packet_t *packet, 74 int fru_update_payload(packet_hdl_t packet, const void *data, 76 int fru_append_packet(segment_hdl_t segment, packet_t *packet, 79 int fru_delete_packet(packet_hdl_t packet, 343 fru_get_packets(segment_hdl_t segment, packet_t *packet, int max_packets, argument 354 packets.frus = packet; 363 fru_get_payload(packet_hdl_t packet, void *buffer, size_t nbytes, argument 372 payload.fru_hdl = packet; 382 fru_update_payload(packet_hdl_t packet, const void *data, size_t nbytes, argument 397 payload.fru_hdl = packet; 409 fru_append_packet(segment_hdl_t segment, packet_t *packet, const void *payload, size_t nbytes, segment_hdl_t *newsegment, door_cred_t *cred) argument 441 fru_delete_packet(packet_hdl_t packet, segment_hdl_t *newsegment, door_cred_t *cred) argument [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | syncloop.c | 202 (void) printf("invalid packet length: %d\n", reclen); 325 static char packet[MAXPACKET]; variable 339 (void) printf("packet received but none sent!\n"); 354 packet[i] = (data == -1) ? rand() : data; 355 (void) printf("[ Trying first packet ]\n"); 366 if (write(dfd, packet, reclen) != reclen) { 368 "packet write failed, errno %d\n", 380 if (len == reclen && memcmp(packet, bigbuf, len) == 0) 389 printhex(packet, reclen); 452 memcmp(packet, bigbu [all...] |
/illumos-gate/usr/src/uts/common/io/comstar/port/iscsit/ |
H A D | iscsit_radiuspacket.c | 54 uint8_t *ptr; /* Pointer to RADIUS packet data */ 56 /* packet. */ 59 radius_packet_t *packet; /* Outbound RADIUS packet */ local 67 * Create a RADIUS packet with minimal length for now. 71 packet = (radius_packet_t *)data; 72 packet->code = req_data->code; 73 packet->identifier = req_data->identifier; 74 bcopy(req_data->authenticator, packet->authenticator, 76 ptr = packet 172 radius_packet_t *packet; local [all...] |
/illumos-gate/usr/src/uts/common/ipp/dscpmk/ |
H A D | dscpmkddi.c | 422 dscpmk_invoke_action(ipp_action_id_t aid, ipp_packet_t *packet) argument 429 ASSERT(packet != NULL); 432 mp = ipp_packet_get_data(packet); 433 priv = (ip_priv_t *)ipp_packet_get_private(packet); 438 /* dscpmk packet as configured */ 442 /* return packet with next action set */ 443 return (ipp_packet_next(packet, dscpmk_data->next_action));
|
/illumos-gate/usr/src/uts/common/ipp/flowacct/ |
H A D | flowacctddi.c | 429 flowacct_invoke_action(ipp_action_id_t aid, ipp_packet_t *packet) argument 436 mp = ipp_packet_get_data(packet); 440 /* flowacct packet as configured */ 444 /* return packet with next action set */ 445 return (ipp_packet_next(packet, flowacct_data->next_action));
|
/illumos-gate/usr/src/uts/sun4u/lw8/sys/ |
H A D | sgfru.h | 77 typedef fru_hdl_t packet_hdl_t; /* packet handle */ 98 packet_hdl_t handle; /* for use in operations on packet */ 99 tag_t tag; /* packet tag */ 110 typedef fru_info_t packet_info_t; /* packet handle and count */ 122 typedef frup_info_t packets_t; /* packet handle, count, pointer */ 126 packet_t packet; /* packet info */ member in struct:__anon9835 142 packet_t packet; /* packet info */ member in struct:__anon9837 198 * Receive: packet_info_t, with current packet coun [all...] |
/illumos-gate/usr/src/uts/common/io/e1000g/ |
H A D | e1000g_rx.c | 60 e1000g_rxfree_func(p_rx_sw_packet_t packet) argument 69 if (packet->ref_cnt == 0) { 77 rx_data = (e1000g_rx_data_t *)(uintptr_t)packet->rx_data; 79 if (packet->mp == NULL) { 83 address = (unsigned char *)packet->rx_buf->address; 85 packet->mp = desballoc((unsigned char *) 86 address, packet->rx_buf->size, 87 BPRI_MED, &packet->free_rtn); 94 * to freelist. This helps in avoiding per packet mutex contention 98 QUEUE_PUSH_TAIL(&rx_data->recycle_list, &packet 148 p_rx_sw_packet_t packet; local 386 p_rx_sw_packet_t packet; local 442 p_rx_sw_packet_t packet; local [all...] |
H A D | e1000g_alloc.c | 696 * Transmit sw packet structure 699 * Receive sw packet structure 1127 p_tx_sw_packet_t packet; local 1140 * software packet. This structure stores all the relevant information 1141 * for transmitting a single packet. 1149 for (j = 0, packet = tx_ring->packet_area; 1150 j < Adapter->tx_freelist_num; j++, packet++) { 1152 ASSERT(packet != NULL); 1167 &packet->tx_dma_handle); 1174 &packet 1248 p_rx_sw_packet_t packet; local 1285 p_rx_sw_packet_t packet; local 1327 p_rx_sw_packet_t packet; local 1399 e1000g_free_rx_sw_packet(p_rx_sw_packet_t packet, boolean_t full_release) argument 1438 p_rx_sw_packet_t packet, next_packet; local 1470 p_tx_sw_packet_t packet; local [all...] |
/illumos-gate/usr/src/cmd/mdb/common/modules/ipp/ |
H A D | ipp.c | 56 static int packet(uintptr_t, uint_t, int, const mdb_arg_t *); 540 packet( function 700 "display ipp_packet structure", packet },
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/ |
H A D | lm_send.c | 103 IN lm_packet_t *packet, 131 packet->u1.tx.hdr_nbds = hdr_nbds; 134 static void lm_process_lso_packet(IN lm_packet_t *packet, argument 150 if ((packet->l2pkt_tx_info->lso_ip_hdr_len + packet->l2pkt_tx_info->lso_tcp_hdr_len) > 120) { 158 parse_bd_e1x->lso_mss = mm_cpu_to_le16(packet->l2pkt_tx_info->lso_mss); 159 parse_bd_e1x->ip_id = mm_cpu_to_le16(packet->l2pkt_tx_info->lso_ipid); 160 parse_bd_e1x->tcp_send_seq = mm_cpu_to_le32(packet->l2pkt_tx_info->lso_tcp_send_seq); 161 parse_bd_e1x->tcp_flags = packet->l2pkt_tx_info->lso_tcp_flags; // no endianity since it is u8_t 167 if GET_FLAGS(packet 101 lm_pre_process_lso_packet( IN lm_device_t *pdev, IN lm_packet_t *packet, IN lm_frag_list_t *frags, OUT u8_t *split_required, IN u16_t total_hlen_bytes ) argument 472 lm_get_pri_from_send_packet_param( lm_device_t *pdev, lm_packet_t *packet) argument 490 fill_bds_for_encapsulated_packet( lm_device_t *pdev, lm_packet_t *packet, struct eth_tunnel_data *tunnel_data, struct eth_tx_parse_2nd_bd *parse_bd_2nd_ptr, u8_t eth_hlen) argument 575 lm_send_packet( lm_device_t *pdev, u32_t chain_idx, lm_packet_t *packet, lm_frag_list_t *frags) argument [all...] |
/illumos-gate/usr/src/uts/common/io/ |
H A D | neti_impl.c | 328 net_inject(net_handle_t info, inject_t style, net_inject_t *packet) argument 336 return (info->netd_info.netp_inject(info, style, packet));
|