Searched refs:packet (Results 1 - 25 of 94) sorted by relevance

1234

/illumos-gate/usr/src/boot/sys/boot/i386/common/
H A Ddrv.c56 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/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_send.c103 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...]
H A Dlm_recv.c94 lm_packet_t *packet,/* optional. */
139 if(packet)
141 // Insert given packet.
142 DbgBreakIfFastPath(SIG(packet) != L2PACKET_RX_SIG);
146 s_list_push_tail(&rxq_chain_common->free_descq, &packet->link);
147 packet = NULL;
152 packet = (lm_packet_t *) s_list_pop_head(&rxq_chain_common->free_descq);
159 while(packet)
167 prod_bseq += packet->l2pkt_rx_info->mem_size;
174 rcq_prod_bseq += packet
91 lm_post_buffers( lm_device_t *pdev, u32_t chain_idx, lm_packet_t *packet, u8_t const is_tpa) argument
[all...]
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/
H A Dsmbns_netbios_name.c49 * A REQUEST packet is always sent to the well known UDP port 137.
52 * initialization time. In rare cases, a request packet will be sent to
55 * A RESPONSE packet is always sent to the source UDP port and source IP
56 * address of the request packet.
58 * A DEMAND packet must always be sent to the well known UDP port 137.
130 struct name_packet *packet; member in struct:nbt_name_reply
156 struct name_packet *packet);
187 struct name_packet packet; local
191 * The response packet has in it the address of the presumed owner
197 if ((answer = reply_info->packet
295 smb_reply_ready(struct name_packet *packet, addr_entry_t *addr) argument
326 smb_netbios_process_response(uint16_t tid, addr_entry_t *addr, struct name_packet *packet, uint32_t timeout) argument
899 smb_send_name_service_packet(addr_entry_t *addr, struct name_packet *packet) argument
925 smb_netbios_send_rcv(int bcast, addr_entry_t *destination, struct name_packet *packet, uint32_t retries, uint32_t timeout) argument
969 struct name_packet packet; local
1044 struct name_packet packet; local
1138 struct name_packet packet; local
1179 struct name_packet packet; local
1227 struct name_packet packet; local
1265 struct name_packet packet; local
1328 struct name_packet packet; local
1388 struct name_packet packet; local
1832 smb_name_process_Bnode_packet(struct name_packet *packet, addr_entry_t *addr) argument
1912 smb_name_process_Pnode_packet(struct name_packet *packet, addr_entry_t *addr) argument
2011 smb_name_process_Mnode_packet(struct name_packet *packet, addr_entry_t *addr) argument
2020 smb_name_process_Hnode_packet(struct name_packet *packet, addr_entry_t *addr) argument
2187 struct name_packet *packet; local
[all...]
/illumos-gate/usr/src/uts/common/ipp/ipgpc/
H A Dclassifier.c70 * 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/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dchpw.c22 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/lib/krb5/kadm5/clnt/
H A Dchpw.c22 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/uts/common/io/e1000g/
H A De1000g_rx.c60 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 De1000g_tx.c38 * make the hardware to send the data pointed by the packet out *
83 * e1000g_free_tx_swpkt - free up the tx sw packet
86 * transmit sw packet. And reset the sw packet data.
89 e1000g_free_tx_swpkt(register p_tx_sw_packet_t packet) argument
91 switch (packet->data_transfer_type) {
93 packet->tx_buf->len = 0;
97 dvma_unload(packet->tx_dma_handle, 0, -1);
101 (void) ddi_dma_unbind_handle(packet->tx_dma_handle);
108 * The mblk has been stripped off the sw packet
160 p_tx_sw_packet_t packet; local
611 p_tx_sw_packet_t packet; local
901 p_tx_sw_packet_t packet; local
1023 p_tx_sw_packet_t packet; local
1258 e1000g_tx_copy(e1000g_tx_ring_t *tx_ring, p_tx_sw_packet_t packet, mblk_t *mp, boolean_t tx_undersize_flag) argument
1342 e1000g_tx_bind(e1000g_tx_ring_t *tx_ring, p_tx_sw_packet_t packet, mblk_t *mp) argument
1520 e1000g_fill_tx_desc(e1000g_tx_ring_t *tx_ring, p_tx_sw_packet_t packet, uint64_t address, size_t size) argument
1548 e1000g_tx_workaround_PCIX_82544(p_tx_sw_packet_t packet, uint64_t address, size_t size) argument
1606 e1000g_tx_workaround_jumbo_82544(p_tx_sw_packet_t packet, uint64_t address, size_t size) argument
[all...]
H A De1000g_alloc.c696 * 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/uts/common/io/scsi/adapters/iscsi/
H A Dradius_packet.c49 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/cmd/cmd-inet/usr.lib/in.ripngd/
H A Dtrace.h47 char *ift_packet; /* pointer to packet */
48 int ift_size; /* size of packet */
53 * Per interface packet tracing buffers. An incoming and
83 trace(&(ifp)->int_input, (src), packet, (size), \
88 packet, (size)); \
93 trace(&(ifp)->int_output, (dst), packet, (size), \
98 packet, (size)); \
/illumos-gate/usr/src/uts/common/inet/sockmods/netpacket/
H A DMakefile31 HDRS= packet.h
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lw8/fruaccess/
H A Dlibfruaccess.c72 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/uts/common/io/comstar/port/iscsit/
H A Discsit_radiuspacket.c54 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/lib/libfru/libfruraw/
H A Dfru_access.h73 packet_hdl_t handle; /* for use in operations on packet */
97 int fru_get_packets(segment_hdl_t segment, packet_t *packet,
99 ssize_t fru_get_payload(packet_hdl_t packet, void *buffer,
101 int fru_update_payload(packet_hdl_t packet, const void *data, size_t nbytes,
103 int fru_append_packet(segment_hdl_t segment, packet_t *packet,
106 int fru_delete_packet(packet_hdl_t packet, segment_hdl_t *newsegment,
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lib/fruaccess/
H A Dfru_access.h75 packet_hdl_t handle; /* for use in operations on packet */
99 int fru_get_packets(segment_hdl_t segment, packet_t *packet,
101 ssize_t fru_get_payload(packet_hdl_t packet, void *buffer,
103 int fru_update_payload(packet_hdl_t packet, const void *data, size_t nbytes,
105 int fru_append_packet(segment_hdl_t segment, packet_t *packet,
108 int fru_delete_packet(packet_hdl_t packet, segment_hdl_t *newsegment,
/illumos-gate/usr/src/lib/libresolv2/common/resolv/
H A Dres_update.c56 * 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/grub/grub-0.97/netboot/
H A Dnic.h33 unsigned char *packet; member in struct:nic
H A Dw89c840.c108 bonding and packet priority.
115 full-size packet.
381 /* return true if there's an ethernet packet ready to read */
382 /* nic->packet should contain data on return */
449 /* Check if the packet is long enough to accept without copying
452 memcpy(nic->packet, le32desc_to_virt(w840private.rx_ring[entry].buffer1), pkt_len);
463 nic->packet[0], nic->packet[1], nic->packet[2], nic->packet[
[all...]
H A D3c595.c179 len=s+ETH_HLEN; /* actual length of packet */
208 /* write packet */
265 /* read packet */
269 insw(BASE + VX_W1_RX_PIO_RD_1, nic->packet, rx_fifo / 2);
271 nic->packet[rx_fifo-1]=inb(BASE + VX_W1_RX_PIO_RD_1);
282 insw(BASE + VX_W1_RX_PIO_RD_1, nic->packet+nic->packetlen, rx_fifo / 2);
284 nic->packet[nic->packetlen+rx_fifo-1]=inb(BASE + VX_W1_RX_PIO_RD_1);
299 /* acknowledge reception of packet */
305 type = (nic->packet[12]<<8) | nic->packet[1
[all...]
/illumos-gate/usr/src/uts/sun4u/lw8/sys/
H A Dsgfru.h77 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/boot/sys/boot/i386/libi386/
H A Dbioscd.c315 static struct edd_packet packet; local
371 packet.len = sizeof(struct edd_packet);
372 packet.count = x;
373 packet.off = VTOPOFF(xp);
374 packet.seg = VTOPSEG(xp);
375 packet.lba = dblk;
380 v86.ds = VTOPSEG(&packet);
381 v86.esi = VTOPOFF(&packet);
/illumos-gate/usr/src/uts/common/sys/usb/clients/usbinput/usbwcm/
H A Dusbwcm.h435 #define PACKET_BIT(b, s) ((packet[b] >> (s)) & 1)
437 ((((s) + (n) > 32 ? ((packet[(b) - 4]) << (32 - (s))) : 0) | \
438 ((s) + (n) > 24 ? ((packet[(b) - 3]) << (24 - (s))) : 0) | \
439 ((s) + (n) > 16 ? ((packet[(b) - 2]) << (16 - (s))) : 0) | \
440 ((s) + (n) > 8 ? ((packet[(b) - 1]) << (8 - (s))) : 0) | \
441 ((packet[(b)]) >> (s))) & \
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Dsyncloop.c202 (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...]

Completed in 133 milliseconds

1234