Searched refs:packet (Results 101 - 125 of 135) sorted by relevance

123456

/macosx-10.10/mDNSResponder-561.1.1/mDNSMacOS9/
H A DmDNSMacOS9.c151 DNSMessage packet; local
162 recvdata.udata.maxlen = sizeof(packet);
164 recvdata.udata.buf = (UInt8*)&packet;
179 // IP_RCVDSTADDR is known to fail on OS X Carbon, so we'll just assume the packet was probably multicast
199 else mDNSCoreReceive(m, &packet, recvdata.udata.buf + recvdata.udata.len, &senderaddr, senderport, &destaddr, MulticastDNSPort, interface);
/macosx-10.10/xnu-2782.1.97/osfmk/kdp/
H A Dkdp_udp.c84 #define DO_ALIGN 1 /* align all packet data accesses */
91 static u_short ip_id; /* ip packet ctr, for ids */
374 inline static void kdp_send_data(void *packet, unsigned int len) argument
377 (*kdp_en_send_pkt)(packet, len);
381 inline static void kdp_receive_data(void *packet, unsigned int *len, argument
385 (*kdp_en_recv_pkt)(packet, len, timeout);
938 /* If we receive a kernel debugging packet whilst a
960 * Calculate kdp packet length.
1036 if (!flag_panic_dump_in_progress || pkt.input) /* we received a debugging packet, bail*/
1038 printf("Received a debugger packet,transferrin
2049 unsigned char *packet; local
[all...]
/macosx-10.10/IOCDStorageFamily-51/
H A DIOCDBlockStorageDriver.cpp153 if (trackInfo.packet) { /* is track incremental? */
168 if (trackInfo.packet) { /* is track incremental? */
/macosx-10.10/network_cmds-457/ping6.tproj/
H A Dping6.c104 * measure round-trip-delays and packet loss across network paths.
235 struct sockaddr_in6 src; /* src addr of this packet */
248 u_char *packet = NULL; variable
581 case 's': /* size of packet to send */
808 if (!(packet = (u_char *)malloc((u_int)packlen)))
809 err(1, "Unable to allocate packet");
974 /* set IP6 packet options */
1250 /* last packet sent, timeout reached? */
1311 iov[0].iov_base = (caddr_t)packet;
1345 pr_pack(packet, c
[all...]
/macosx-10.10/OpenSSL098-52/src/ssl/
H A Ds2_lib.c289 s->packet=s2->rbuf;
H A Ds3_both.c656 s->packet= &(s->s3->rbuf.buf[0]);
/macosx-10.10/eap8021x-198/EAP8021X.fproj/
H A Dpeap_plugin.c273 save_last_packet(PEAPPluginDataRef context, EAPPacketRef packet) argument
279 if (last_packet == packet) {
283 len = EAPPacketGetLength(packet);
290 memcpy(context->last_packet, packet, len);
615 "packet too short %d < %ld",
728 /* this should not happen, but if it does, ignore the packet */
810 /* we've already seen this packet */
815 /* use the remembered packet */
1196 /* only reset our state if this is not a re-transmitted Start packet */
1209 "packet to
[all...]
H A DEAPSIMAKAUtil.c272 * specified EAP packet 'pkt' and assuming 'mac_p' points to
278 * value, whose value depends on which packet is being MAC'd.
1369 The server's first packet looks like this:
1400 The client selects a nonce and responds with the following packet:
1440 The EAP packet looks like this:
1575 /* faked out to look like packet */
1671 /* faked out to look like packet */
1706 const uint8_t * packet; member in struct:__anon8614
1732 for (i = 0; packets[i].packet != NULL; i++) {
1735 pkt = (EAPSIMPacketRef)packets[i].packet;
[all...]
/macosx-10.10/network_cmds-457/traceroute6.tproj/
H A Dtraceroute6.c79 * Attempt to trace the route an ip packet would follow to some
102 * traceroute to nis.nsf.net (35.1.1.48), 30 hops max, 56 byte packet
281 #define MAXPACKET 65535 /* max ip packet size */
289 * format of a (udp) probe packet.
297 u_char seq; /* sequence number of this packet */
298 u_char hops; /* hop limit of the packet */
300 struct tv32 tv; /* time packet left */
303 u_char packet[512]; /* last inbound (icmp) packet */ variable
304 struct opacket *outpacket; /* last output (udp) packet */
[all...]
/macosx-10.10/mDNSResponder-561.1.1/mDNSPosix/
H A DmDNSPosix.c137 // mDNS core calls this routine when it needs to send a packet.
202 LogMsg("mDNSPlatformSendUDP got error %d (%s) sending packet to %#a on interface %#a/%s/%d",
205 LogMsg("mDNSPlatformSendUDP got error %d (%s) sending packet to %#a", errno, strerror(errno), dst);
218 DNSMessage packet; local
232 packetLen = recvfrom_flags(skt, &packet, sizeof(packet), &flags, (struct sockaddr *) &from, &fromLen, &packetInfo, &ttl);
241 // convince mDNS Core that this isn't a spoof packet.
243 // packet arrived as a multicast and, if so, set its
251 // no way to tell the destination address or interface this packet arrived on,
263 // We only accept the packet i
[all...]
/macosx-10.10/mDNSResponder-561.1.1/mDNSVxWorks/
H A DmDNSVxWorksIPv4Only.c439 // Send the packet.
1112 // use a separate sending socket since it is illegal to send a packet with a multicast source address (RFC 1122).
1462 // Wait until something occurs (e.g. command, incoming packet, or timeout).
1629 DNSMessage packet; local
1638 // Receive the packet.
1641 n = recvfrom( inSocketRef, (char *) &packet, sizeof( packet ), 0, (struct sockaddr *) &addr, &addrSize );
1654 dlog( kDebugLevelChatty, DEBUG_NAME "packet received\n" );
1665 // Dispatch the packet to mDNS.
1667 packetEndPtr = ( (mDNSu8 *) &packet )
[all...]
/macosx-10.10/xnu-2782.1.97/bsd/netinet/
H A Din_arp.c125 struct mbuf *la_hold; /* last packet until resolved/timeout */
394 * entries and a packet has recently been received
408 * entries, and a packet has recently been received
996 mbuf_t packet)
1032 if (packet->m_flags & M_BCAST) {
1045 if (packet->m_flags & M_MCAST) {
1158 if (packet != NULL) {
1163 llinfo->la_hold = packet;
1232 * Clear la_hold; don't free the packet since
1243 /* The packet i
994 arp_lookup_ip(ifnet_t ifp, const struct sockaddr_in *net_dest, struct sockaddr_dl *ll_dest, size_t ll_dest_len, route_t hint, mbuf_t packet) argument
[all...]
/macosx-10.10/IOFireWireAVC-422.4.0/IOFireWireAVCLib/
H A DIOFireWireAVCLibConsumer.cpp1639 void* packet,
1681 me->fInputPlugRegisterBuffer = OSSwapBigToHostInt32(*((UInt32*)packet));
1682 FWLOG(( "IOFireWireAVCLibConsumer::packetWriteHandler received packet = 0x%08lx\n", me->fInputPlugRegisterBuffer ));
1800 FWLOG(( "IOFireWireAVCLibConsumer::packetWriteHandler written packet size > than segment size\n" ));
1806 // copy the packet into the segment buffer
1807 bcopy( packet, me->fSegmentBuffer + offset, packetLen );
1635 packetWriteHandler( IOFireWireLibPseudoAddressSpaceRef addressSpace, FWClientCommandID commandID, UInt32 packetLen, void* packet, UInt16 srcNodeID, UInt32 destAddressHi, UInt32 destAddressLo, void* refcon) argument
/macosx-10.10/AppleUSBIrDA-145.2.4/IrDA/IrComm/
H A DIrComm.cpp83 void AddPacketSize(short length); // add a packet's size to the fifo
84 short FirstPacketSize(void); // return size (remaining) from the first packet in the q
85 void ShrinkFirstPacketSize(short length); // mark a few bytes as consumed from the first packet in q
86 void NukeFirstPacketSize(void); // first packet in the q has been consumed
169 // break the write up into packet size chucks
195 rc = pkt->Put(0); // no ircomm control info in this packet
219 // a packet count and extend that many credits back to our ttp peer.
228 x = FirstPacketSize(); // get size of first packet in the fifo (what's left anyway)
231 if (bytecount >= (UInt32)x) { // if we've consumed all of the first packet
236 else { // first packet siz
[all...]
/macosx-10.10/OpenSSH-189/openssh/
H A Dpacket.c1 /* $OpenBSD: packet.c,v 1.182 2013/04/11 02:27:50 djm Exp $ */
6 * This file contains code implementing the packet protocol and communication
16 * SSH2 packet format added by Markus Friedl.
64 #include "packet.h"
97 struct packet { struct
98 TAILQ_ENTRY(packet) next;
128 /* Buffer for the partial outgoing packet being constructed. */
131 /* Buffer for the incoming packet currently being processed. */
134 /* Scratch buffer for packet compression/decompression. */
139 * Flag indicating whether packet compressio
[all...]
/macosx-10.10/bind9-45.101/bind9/bin/tests/
H A Dnamed.conf530 * packet dumps of packets received and sent
613 * Two categories, 'packet' and 'eventlib', are special. Only one
619 * category packet { default_debug; };
/macosx-10.10/ntp-92/sntp/
H A Dsntp-opts.def140 When waiting for a broadcast packet SNTP will wait the number
/macosx-10.10/vim-55/runtime/syntax/
H A Dsamba.vim55 syn keyword sambaKeyword contained output packet page panic passwd password
/macosx-10.10/xnu-2782.1.97/bsd/netinet6/
H A Dnd6.h84 struct mbuf *ln_hold; /* last packet until resolved/timeout */
914 * @param interface The interface the packet is being sent on.
915 * @param ip6_dest The IPv6 destination of the packet.
919 * @param packet The packet being transmitted.
921 * this function returns EJUSTRETURN, the packet has been queued
924 * the packet.
928 size_t ll_dest_len, route_t hint, mbuf_t packet);
H A Dip6_input.c263 ip6_proto_input(protocol_family_t protocol, mbuf_t packet) argument
266 ip6_input(packet);
472 * Check if the packet we received is valid after interface filter
485 * should the inner packet be considered authentic?
517 * No need to proccess packet twice if we've already seen it.
555 * Drop the packet if IPv6 operation is disabled on the interface.
615 /* If ipfw says divert, we have to just drop packet */
641 * In this case, the packet should come from the loopback
712 /* Invoke inbound packet filter */
722 panic("%s: unexpected packet
[all...]
/macosx-10.10/IOFireWireFamily-456/IOFireWireLib.CFPlugInProj/
H A DIOFireWireLib.h612 @param addressSpace The address space which dropped the packet(s)
625 @param packetLen Length in bytes of incoming packet
626 @param packet Pointer to the received data
636 void* packet,
675 @param data1 first quad of received PHY packet
676 @param data2 second quad of received PHY packet
708 @param packet Pointer to the received data
716 void* packet,
1210 when receiving large bursts of data. When a packet is received which can not fit into the queue,
1211 the packet droppe
[all...]
/macosx-10.10/uucp-11/uucp/contrib/
H A Duucomp.shar387 X * becomes important when you're on the other end of a 1200 baud packet radio
/macosx-10.10/mDNSResponder-561.1.1/mDNSWindows/
H A DmDNSWin32.c2549 // of determing the destination address of a packet that is sent to us.
2602 // of determing the destination address of a packet that is sent to us.
2658 // of determing the destination address of a packet that is sent to us.
2688 // of determing the destination address of a packet that is sent to us.
2809 // but we cut the packet rate in half. At this time, reducing the packet rate is more important than v6-only
2887 // and skip the probe phase of the probe/announce packet sequence.
3247 wbuf.buf = (char *) &udpSock->packet;
3248 wbuf.len = (u_long) sizeof( udpSock->packet );
3303 // Translate the source of this packet int
[all...]
/macosx-10.10/xnu-2782.1.97/bsd/net/
H A Ddlil.c495 /* sanity checking of input packet lists received */
1483 /* Initialize the packet filter */
1490 /* Initialize packet schedulers */
1725 * d) packet injections
1828 * the corresponding input thread where the packet arrived
1919 * the corresponding input thread where the packet arrived
2291 * Drop the packet(s) if the parameters are invalid, or if the
2340 panic_plain("%s: invalid input packet chain for %s, "
2346 * Assert packet count only for the extended variant, for backwards
2353 panic_plain("%s: input packet coun
4777 ifproto_media_input_v1(struct ifnet *ifp, protocol_family_t protocol, struct mbuf *packet, char *header) argument
4785 ifproto_media_input_v2(struct ifnet *ifp, protocol_family_t protocol, struct mbuf *packet) argument
4794 ifproto_media_preout(struct ifnet *ifp, protocol_family_t protocol, mbuf_t *packet, const struct sockaddr *dest, void *route, char *frame_type, char *link_layer_dest) argument
[all...]
/macosx-10.10/Heimdal-398.1.2/lib/roken/
H A Dgetifaddrs.c124 #include <netpacket/packet.h>

Completed in 614 milliseconds

123456