Home
last modified time | relevance | path

Searched refs:packet (Results 1 – 25 of 125) sorted by path

12345

/illumos-gate/usr/src/boot/i386/common/
H A Ddrv.c59 packet.count = nblk; in drvread()
60 packet.off = VTOPOFF(buf); in drvread()
61 packet.seg = VTOPSEG(buf); in drvread()
62 packet.lba = lba; in drvread()
67 v86.ds = VTOPSEG(&packet); in drvread()
68 v86.esi = VTOPOFF(&packet); in drvread()
83 packet.count = nblk; in drvwrite()
84 packet.off = VTOPOFF(buf); in drvwrite()
85 packet.seg = VTOPSEG(buf); in drvwrite()
86 packet.lba = lba; in drvwrite()
[all …]
/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/boot/i386/pmbr/
H A Dpmbr.s127 # a EDD packet on the stack and passing it to the BIOS. Trashes %ax and %si.
/illumos-gate/usr/src/cmd/cmd-inet/etc/dhcp/
H A Dinittab122 # DHCP packet fields. Code field is byte offset into DHCP packet.
H A Dinittab660 # DHCPv6 packet fields. Code field is byte offset into DHCPv6 packet.
/illumos-gate/usr/src/cmd/cmd-inet/etc/
H A Dipqosconf.2.sample32 # Mark a packet with AF11 if it does not exceed the committed burst, AF12 if it
62 # meter5mbps invokes action af11 for a packet that does not exceed the
H A Dipqosconf.3.sample54 # packet leaves belong to the same VLAN
H A Dprotocols38 pup 12 PUP # PARC universal packet protocol
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A DMakefile33 init_reboot.o interface.o ipc_action.o packet.o release.o renew.o \
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 …]
H A DREADME.v654 - snoop(8): Solaris network packet capture and inspection
126 dhcp_pkt; "packet.h"). PKT is just the RFC 2131 DHCP packet
127 structure, and has no additional information, such as packet length.
130 PKT pointer and length values suitable for modifying the packet.
364 Obviously, we need some DHCPv6 packet data structures and
376 This defines the usual (non-relay) DHCPv6 packet header, and is
386 a set of packet decoding structures. The decoding structures are
398 dhcp_plist_t structure to represent packet lists as used inside
498 "blackhole" packet filter. The stream is left open.
509 longer need to switch out on state in when sending a packet; just
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Ddemand.c53 struct packet { struct
55 struct packet *next; argument
59 static struct packet *pend_q; argument
60 static struct packet *pend_qtail;
130 struct packet *pkt, *nextpkt; in demand_discard()
269 struct packet *pkt;
280 pkt = (struct packet *) malloc(sizeof(struct packet) + len);
302 struct packet *pkt, *prev, *nextpkt;
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/
H A Dmain.c67 static uint64_t packet[(IP_MAXPACKET + 1)/8]; variable
136 cc = sendto(sock, (char *)packet, size, flags, in sendpacket()
181 struct nd_router_solicit *rs = (struct nd_router_solicit *)packet; in solicit()
182 char *pptr = (char *)packet; in solicit()
212 char *pptr = (char *)packet; in advertise()
251 pptr = (char *)packet + packetlen; in advertise()
299 pptr = (char *)packet + sizeof (*ra); in advertise()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/
H A Ddefs.h140 extern char *packet;
H A Dinput.c77 iov.iov_base = packet; in in_data()
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()
H A Dtrace.h81 trace(&(ifp)->int_input, (src), packet, (size), \
86 packet, (size)); \
91 trace(&(ifp)->int_output, (dst), packet, (size), \
96 packet, (size)); \
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wpad/
H A DREADME132 Optional libraries for layer2 packet processing:
186 24-bit initialization vector (IV), and CRC32 to protect against packet
192 flipping packet data.
198 per-packet RC4 keys. In addition, it implements replay protection,
199 keyed packet authentication mechanism (Michael MIC).
/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/cmd/cmd-inet/usr.sbin/in.routed/
H A Ddefs.h162 uint8_t packet[OVER_MAXPACKETSIZE*2]; member
H A Drtquery.c79 char packet[MAXPACKETSIZE+MAXPATHLEN]; member
86 char packet[MAXPACKETSIZE+1024]; member
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Dsyncloop.c323 static char packet[MAXPACKET]; variable
352 packet[i] = (data == -1) ? rand() : data; in first_packet()
364 if (write(dfd, packet, reclen) != reclen) { in first_packet()
378 if (len == reclen && memcmp(packet, bigbuf, len) == 0) in first_packet()
387 printhex(packet, reclen); in first_packet()
450 memcmp(packet, bigbuf, len) != 0) { in many_packets()
457 printhex(packet, reclen); in many_packets()
475 (void) write(dfd, packet, reclen); in many_packets()
492 if (len != reclen || memcmp(packet, bigbuf, len) != 0) { in many_packets()
498 printhex(packet, reclen); in many_packets()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/traceroute/
H A Dtraceroute.c116 static uint64_t packet[(IP_MAXPACKET + 1)/8]; /* received packet */ variable
1526 struct ip *ip = (struct ip *)packet; in traceroute()
1690 iov.iov_base = (char *)packet; in traceroute()
1691 iov.iov_len = sizeof (packet); in traceroute()
1721 (*pr->print_addr_fn) ((uchar_t *)packet, in traceroute()
/illumos-gate/usr/src/cmd/fm/eversholt/files/common/
H A Dpciex.esc1100 * Additionally, as the leaf/bridge will just throw away the packet, we should
1145 * Additionally, as the leaf/bridge will just throw away the packet, we should
1334 * Additionally, as the root complex will just throw away the packet, we may
1379 * Additionally, as the root complex will just throw away the packet, we'll
1477 * the target of the packet (config request etc).

12345