Home
last modified time | relevance | path

Searched refs:packet (Results 26 – 50 of 125) sorted by relevance

12345

/illumos-gate/usr/src/cmd/ipf/examples/
H A Dexample.sr2 # log all inbound packet on le0 which has IP options present
14 # (NOTE: if it were an inbound TCP packet with the SYN flag set and it
36 # block (and stop matching) any packet with IP options present.
40 # allow any packet through
H A Dexample.310 # allow a variety of individual hosts to send any type of IP packet to any
31 # allow any host to send any IP packet out to a limited number of hosts.
H A Dexample.63 # packet sent to establish a connection) out of the SYN-ACK pair.
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/
H A Dmain.c48 char *packet; variable
182 packet = (char *)malloc(IPV6_MAX_PACKET); in main()
183 if (packet == NULL) { in main()
187 msg = (struct rip6 *)packet; in main()
H A Doutput.c119 if (sendto(ifp->int_sock, packet, size, flags, in sendpacket()
197 size = (char *)n - packet; in supply()
212 size = (char *)n - packet; in supply()
/illumos-gate/usr/src/uts/common/ipp/ipgpc/
H A Dclassifierddi.c385 ipgpc_invoke_action(ipp_action_id_t aid, ipp_packet_t *packet) in ipgpc_invoke_action() argument
400 mp = ipp_packet_get_data(packet); in ipgpc_invoke_action()
403 priv = (ip_priv_t *)ipp_packet_get_private(packet); in ipgpc_invoke_action()
496 if ((rc = ipp_packet_add_class(packet, out_class->class_name, in ipgpc_invoke_action()
503 return (ipp_packet_next(packet, IPP_ACTION_CONT)); in ipgpc_invoke_action()
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dnic.c120 static char packet[ETH_FRAME_LEN + ETH_DATA_ALIGN] __aligned(16); variable
147 packet + ETH_DATA_ALIGN, /* packet */
286 arpreply = (struct arprequest *)&nic.packet[ETH_HLEN]; in await_arp()
463 arpreply = (struct arprequest *)&nic.packet[ETH_HLEN]; in await_rarp()
785 igmp = (struct igmp *)&nic.packet[sizeof(struct iphdr)]; in process_igmp()
920 ptype = ((unsigned short) nic.packet[12]) << 8 in await_reply()
921 | ((unsigned short) nic.packet[13]); in await_reply()
927 ip = (struct iphdr *)&nic.packet[ETH_HLEN]; in await_reply()
949 memmove(&nic.packet[ETH_HLEN + sizeof(struct iphdr)], in await_reply()
950 &nic.packet[ETH_HLEN + iplen], in await_reply()
[all …]
H A Drtl8139.c461 memcpy(nic->packet, rx_ring + ring_offs + 4, semi_count); in rtl_poll()
462 memcpy(nic->packet+semi_count, rx_ring, rx_size-4-semi_count); in rtl_poll()
467 memcpy(nic->packet, rx_ring + ring_offs + 4, nic->packetlen); in rtl_poll()
475 nic->packet[12], nic->packet[13], rx_status); in rtl_poll()
H A Deepro100.c249 char packet[1518]; member
524 memcpy (nic->packet, ACCESS(rxfd)packet, nic->packetlen); in eepro100_poll()
526 hd (nic->packet, 0x30); in eepro100_poll()
640 ACCESS(rxfd)rx_buf_addr = virt_to_bus(&nic->packet); in eepro100_probe()
H A DREADME.netboot10 --disable-packet-retransmission
11 Turns off packet retransmission. Use it on an empty network, where
12 no packet collision can happen.
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.rdisc/
H A Din.rdisc.c198 uchar_t packet[MAXPACKET]; variable
465 int len = sizeof (packet); in main()
470 if ((cc = recvfrom(s, (char *)packet, len, 0, in main()
481 pr_pack((char *)packet, cc, &from); in main()
1127 sendbcast(int s, char *packet, int packetlen) in sendbcast() argument
1147 cc = sendbcastif(s, packet, packetlen, li); in sendbcast()
1160 struct icmp *icp = (struct icmp *)ALIGN(packet); in sendbcastif()
1185 cc = sendto(s, packet, packetlen, 0, in sendbcastif()
1216 cc = sendmcastif(s, packet, packetlen, sin, li); in sendmcast()
1230 struct icmp *icp = (struct icmp *)ALIGN(packet); in sendmcastif()
[all …]
/illumos-gate/usr/src/uts/sun4u/lw8/sys/
H A Dsgfru.h126 packet_t packet; /* packet info */ member
142 packet_t packet; /* packet info */ member
/illumos-gate/usr/src/uts/common/ipp/dlcosmk/
H A Ddlcosmkddi.c332 dlcosmk_invoke_action(ipp_action_id_t aid, ipp_packet_t *packet) in dlcosmk_invoke_action() argument
339 ASSERT(packet != NULL); in dlcosmk_invoke_action()
342 mp = ipp_packet_get_data(packet); in dlcosmk_invoke_action()
343 priv = (ip_priv_t *)ipp_packet_get_private(packet); in dlcosmk_invoke_action()
354 return (ipp_packet_next(packet, dlcosmk_data->next_action)); in dlcosmk_invoke_action()
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lib/fruaccess/
H A Dfru_access.c2205 packet->handle = pkt_hash_obj->obj_hdl; in fru_get_packets()
2206 packet->tag = 0; in fru_get_packets()
2288 pkt_hash = lookup_handle_object(packet, PACKET_TYPE); in fru_update_payload()
2349 *newpacket = packet; in fru_update_payload()
2437 tagtype = get_tag_type((void *)&packet->tag); in fru_append_packet()
2457 (void) memcpy(&pkt_hash->u.pkt_obj->tag, &packet->tag, in fru_append_packet()
2495 retval = pwrite(fd, &packet->tag, tag_size, in fru_append_packet()
2639 pkt_hash = lookup_handle_object(packet, PACKET_TYPE); in fru_delete_packet()
2692 free_packet_object(packet, seg_hash); in fru_delete_packet()
2697 if (tmp_obj->obj_hdl == packet) { in fru_delete_packet()
[all …]
/illumos-gate/usr/src/pkg/manifests/
H A Ddriver-network-bpf.p5m28 set name=pkg.description value="BPF/PF_PACKET kernel packet modules"
42 file path=usr/include/netpacket/packet.h
54 legacy pkg=SUNWpacketu desc="BPF/PF_PACKET kernel packet modules" \
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/frudata/
H A Dfru_data.c449 pkt_node->pkt_handle = packet->handle; in alloc_packet_node_object()
975 packet_t *packet; in frudata_delete_packet() local
1072 packet = alloca(sizeof (packet_t) * num_of_pkt); in frudata_delete_packet()
1073 if (packet == NULL) { in frudata_delete_packet()
1078 retval = fru_get_packets(new_seg_acc_hdl, packet, in frudata_delete_packet()
1203 packet_t *packet; in frudata_read_packet() local
1228 packet = alloca(sizeof (packet_t) * num_of_pkt); in frudata_read_packet()
1229 if (packet == NULL) { in frudata_read_packet()
1273 packet_t packet; in frudata_add_packet() local
1314 packet.tag = 0; in frudata_add_packet()
[all …]
/illumos-gate/usr/src/uts/common/io/bnx/570x/driver/common/lmdev/
H A Dlm.h260 struct _lm_packet_t *packet,
267 struct _lm_packet_t *packet);
277 struct _lm_packet_t *packet,
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A DREADME64 the system. Examples include "packet.c", which along with
65 "packet.h" provide a Packet object for use by the rest of
181 must send a REQUEST packet and wait for an ACK or NAK packet in
183 event handler that waits for an ACK or NAK packet to arrive on the
298 behind a dozen or so interfaces (see packet.h) that abstract the
300 send a DHCP packet, code first calls init_pkt(), which returns a
306 transmit the packet to a given IP address.
308 The send_pkt() function handles the details of packet timeout and
326 and then calls recv_pkt() to read in the packet along with meta
329 For IPv6, packet reception is done with a single socket, using
[all …]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dget_in_tkt.c127 krb5_data *packet = 0; in send_as_request2() local
149 if ((retval = encode_krb5_as_req(request, &packet)) != 0) in send_as_request2()
152 k4_version = packet->data[0]; in send_as_request2()
154 retval = krb5_sendto_kdc2(context, packet, in send_as_request2()
228 if (packet) in send_as_request2()
229 krb5_free_data(context, packet); in send_as_request2()
395 krb5_data * packet; in stash_as_reply() local
428 if ((retval = encode_krb5_ticket(as_reply->ticket, &packet))) in stash_as_reply()
431 creds->ticket = *packet; in stash_as_reply()
432 krb5_xfree(packet); in stash_as_reply()
/illumos-gate/usr/src/uts/common/ipp/dscpmk/
H A Ddscpmkddi.c422 dscpmk_invoke_action(ipp_action_id_t aid, ipp_packet_t *packet) in dscpmk_invoke_action() argument
429 ASSERT(packet != NULL); in dscpmk_invoke_action()
432 mp = ipp_packet_get_data(packet); in dscpmk_invoke_action()
433 priv = (ip_priv_t *)ipp_packet_get_private(packet); in dscpmk_invoke_action()
443 return (ipp_packet_next(packet, dscpmk_data->next_action)); in dscpmk_invoke_action()
/illumos-gate/usr/src/lib/libfru/libfrupicl/
H A Dfrupicl.c1064 picl_prophdl_t packet, payloadh = 0; in fpt_for_each_packet() local
1085 &packet, sizeof (packet))) in fpt_for_each_packet()
1091 while ((status = picl_get_next_by_col(packet, &packet)) in fpt_for_each_packet()
1093 if (((status = picl_get_propval(packet, &tag, sizeof (tag))) in fpt_for_each_packet()
1095 ((status = picl_get_next_by_row(packet, &payloadh)) in fpt_for_each_packet()
/illumos-gate/usr/src/boot/i386/libi386/
H A Dbiosdisk.c1129 static struct edd_packet packet; in bd_edd_io() local
1131 packet.len = sizeof (struct edd_packet); in bd_edd_io()
1132 packet.count = blks; in bd_edd_io()
1133 packet.off = VTOPOFF(dest); in bd_edd_io()
1134 packet.seg = VTOPSEG(dest); in bd_edd_io()
1135 packet.lba = dblk; in bd_edd_io()
1143 v86.ds = VTOPSEG(&packet); in bd_edd_io()
1144 v86.esi = VTOPOFF(&packet); in bd_edd_io()
/illumos-gate/usr/src/lib/libfru/libfrupicltree/
H A Dfrupicltree.c1079 picl_prophdl_t packet, payloadh = 0; in fpt_for_each_packet() local
1100 &packet, sizeof (packet))) in fpt_for_each_packet()
1106 while ((status = ptree_get_next_by_col(packet, &packet)) in fpt_for_each_packet()
1108 if (((status = ptree_get_propval(packet, &tag, sizeof (tag))) in fpt_for_each_packet()
1110 ((status = ptree_get_next_by_row(packet, &payloadh)) in fpt_for_each_packet()
/illumos-gate/usr/src/cmd/cmd-inet/etc/dhcp/
H A Dinittab660 # DHCPv6 packet fields. Code field is byte offset into DHCPv6 packet.
/illumos-gate/usr/src/uts/common/inet/sockmods/netpacket/
H A DMakefile31 HDRS= packet.h

12345