Searched refs:packet (Results 51 - 75 of 135) sorted by relevance

123456

/macosx-10.10/ppp-786.1.1/Drivers/PPPoE/PPPoE-extension/
H A Dpppoe_dlil.c58 mbuf_t packet, char* header);
60 mbuf_t *packet, const struct sockaddr *dest,
223 mbuf_t *packet, const struct sockaddr *dest,
278 * Process a received pppoe packet;
279 * the packet is in the mbuf chain m without
283 mbuf_t packet, char* header)
302 pppoe_rfc_lower_input(ifp, packet, (u_char *)header + ETHER_ADDR_LEN, ntohs(eh->ether_type));
222 pppoe_dlil_pre_output(ifnet_t ifp, protocol_family_t protocol, mbuf_t *packet, const struct sockaddr *dest, void *route, char *frame_type, char *link_layer_dest) argument
282 pppoe_dlil_input(ifnet_t ifp, protocol_family_t protocol, mbuf_t packet, char* header) argument
/macosx-10.10/eap8021x-198/EAP8021X.fproj/
H A DEAPClientModule.c414 FILE * out_f, const EAPPacketRef packet)
424 if (out_f == NULL || packet == NULL) {
425 /* just testing for existence of packet dump routine */
429 return (*packet_dump)(out_f, packet);
431 return (S_dump_packet_description(out_f, packet, copy_packet_description));
462 const EAPPacketRef packet,
471 return (*copy_packet_description)(packet, packet_is_valid);
413 EAPClientModulePluginPacketDump(EAPClientModuleRef module, FILE * out_f, const EAPPacketRef packet) argument
461 EAPClientModulePluginCopyPacketDescription(EAPClientModuleRef module, const EAPPacketRef packet, bool * packet_is_valid) argument
/macosx-10.10/IONetworkingFamily-101/
H A DIONetworkInterface.cpp674 // Register the output packet handler.
699 // Feed packets to the input/output BPF packet filter taps.
734 // Report our packet count rather than rely on the driver stats.
751 void IONetworkInterface::pushInputPacket( mbuf_t packet, uint32_t length ) argument
759 // Report our packet count rather than rely on the driver stats.
772 ifnet_input_extended(_backingIfnet, packet, packet, &_inputDeltas);
842 UInt32 IONetworkInterface::inputPacket( mbuf_t packet, argument
851 assert(packet);
853 if (!packet || !_backingIfne
2439 enqueueOutputPacket( mbuf_t packet, IOOptionBits options ) argument
2858 reportTransmitCompletionStatus( mbuf_t packet, IOReturn status, uint32_t param1 __unused, uint32_t param2 __unused, IOOptionBits options __unused ) argument
3017 enqueueInputPacket( mbuf_t packet, IOMbufQueue * queue, IOOptionBits options ) argument
[all...]
H A DIONetworkInterface.h190 @discussion Prototype for an output packet handler that will process
194 @param mbuf_t A packet mbuf.
231 @discussion Service class of a mbuf packet.
257 @discussion Constants for packet transmit status.
259 @constant kIONetworkTransmitStatusFailed Failed to send packet across link.
330 @param packet The output packet; may be the head of a chain of packets.
331 Call <code>enqueueOutputPacket()</code> for each packet in the chain to
332 enqueue the packet before returning. The handler executes on the thread
336 void * target, void * refCon, mbuf_t packet );
[all...]
H A DIONetworkController.h128 set of packet filters supported by the controller. Each entry
148 packet size supported by the controller. */
156 packet size supported by the controller. */
166 @abstract All standard packet filters.
205 external mbuf clusters. In this case, the data area of a packet in
207 are disjoint, depending on the interface MTU and the packet size.
218 advertise the capability to report per-packet transmit completion status.
246 for the data buffer in a packet mbuf. This is observed by
463 @abstract Transmits an output packet.
467 it receives an output packet fro
[all...]
/macosx-10.10/OpenSSH-189/openssh/regress/
H A Dintegrity.sh7 # XXX the test hangs if we modify the low bytes of the packet length
59 Bad?packet*) elen=`expr $elen + 1`; skip=3;;
/macosx-10.10/OpenSSL098-52/src/ssl/
H A Ds23_pkt.c100 p=s->packet;
H A Ddtls1.h221 unsigned int mtu; /* max DTLS packet size */
248 unsigned char *packet; member in struct:dtls1_record_data_st
H A Ds23_clnt.c457 p=s->packet;
516 s->packet= &(s->s2->rbuf[0]);
517 memcpy(s->packet,buf,n);
601 s->packet= &(s->s3->rbuf.buf[0]);
602 memcpy(s->packet,buf,n);
H A Ds2_pkt.c182 p=s->packet;
199 p=s->packet;
229 p= &(s->packet[2]);
280 /* Possibly the packet that we just read had 0 actual data bytes.
329 s->packet= &(s->s2->rbuf[s->s2->rbuf_offs]);
351 if (s->packet != s->s2->rbuf)
352 memcpy(s->s2->rbuf,s->packet,
370 s->packet=s->s2->rbuf;
/macosx-10.10/bootp-298/bootplib/
H A Dipconfig.defs67 out packet : inline_data;
128 out packet : inline_data;
/macosx-10.10/xnu-2782.1.97/bsd/net/
H A Dif_ipsec.c83 mbuf_t *packet, const struct sockaddr *dest, void *route,
634 // Make sure this packet isn't looping through the interface
685 IP_NOIPSEC; /* To ensure the packet doesn't go through ipsec twice */
719 if (error == 0 && ipsec_state.tunneled == 4) /* tunneled in IPv4 - packet is gone */
763 printf("ipsec_output: Received unknown packet version %d.\n", ip_version);
912 __unused mbuf_t *packet,
945 mbuf_t packet)
949 if ((error = ipsec_demux(interface, packet, NULL, &protocol)) != 0) {
953 return ipsec_proto_input(interface, protocol, packet, NULL);
957 ipsec_set_pkthdr_for_interface(ifnet_t interface, mbuf_t packet, in argument
910 ipsec_proto_pre_output(__unused ifnet_t interface, protocol_family_t protocol, __unused mbuf_t *packet, __unused const struct sockaddr *dest, __unused void *route, __unused char *frame_type, __unused char *link_layer_dest) argument
944 ipsec_inject_inbound_packet(ifnet_t interface, mbuf_t packet) argument
[all...]
H A Dkpi_interface.h182 clusters. In this case, the data area of a packet in the
185 and the packet size. Such a use of larger than system page
203 @constant IFNET_TX_STATUS Driver supports returning a per packet
205 the packet was successfully transmitted on the link, or the
257 @param data The packet to be transmitted or received.
271 @param data The packet to be sent.
320 @discussion ifnet_demux_func is called for each inbound packet to
321 determine which protocol family the packet belongs to. This
323 protocol to pass the packet to. This function may return
326 packet wil
[all...]
H A Dbpf.h32 * This code is derived from the Stanford/CMU enet packet filter,
214 * Structure prepended to each packet.
219 bpf_u_int32 bh_datalen; /* original length of packet */
240 bpf_u_int32 bh_datalen; /* original length of packet */
320 * in general. As the packet format for it, like that for
830 * IPMB packet for IPMI, beginning with the I2C slave address, followed
850 * AX.25 packet with a 1-byte KISS header; see
1031 * dli_pktlen is the length of the packet data following the pseudo-header
1036 * packet arrived.
1040 * dli_zsrc is the zone identifier for the source of the packet
[all...]
/macosx-10.10/vim-55/src/
H A Dos_amiga.c997 * DOS packet example
1124 * An invaluable addition to your Amiga.lib file. This code sends a packet to
1138 * Finkel. This function will send a packet of the given type to the Message
1145 long action, /* packet type ... (what you want handler to do) */
1150 struct StandardPacket *packet; local
1162 /* Allocate space for a packet, make it public and clear it */
1163 packet = (struct StandardPacket *)
1165 if (!packet) {
1169 packet->sp_Msg.mn_Node.ln_Name = (char *) &(packet
[all...]
/macosx-10.10/AppleUSBCDCDriver-4205.2.2/AppleUSBCDCECM/DataDriver/Headers/
H A DAppleUSBCDCECMData.h126 IOReturn USBTransmitPacket(mbuf_t packet);
128 void receivePacket(UInt8 *packet, UInt32 size);
/macosx-10.10/OpenSSL098-52/src/include/openssl/
H A Ddtls1.h221 unsigned int mtu; /* max DTLS packet size */
248 unsigned char *packet; member in struct:dtls1_record_data_st
/macosx-10.10/mDNSResponder-561.1.1/mDNSWindows/
H A DmDNSWin32.h56 DNSMessage packet; member in struct:UDPSocket_struct
/macosx-10.10/curl-83.1.2/curl/lib/
H A Dtftp.c197 * packet is received, then use user-provided transfer timeouts
284 static void setpacketevent(tftp_packet_t *packet, unsigned short num) argument
286 packet->data[0] = (unsigned char)(num >> 8);
287 packet->data[1] = (unsigned char)(num & 0xff);
291 static void setpacketblock(tftp_packet_t *packet, unsigned short num) argument
293 packet->data[2] = (unsigned char)(num >> 8);
294 packet->data[3] = (unsigned char)(num & 0xff);
297 static unsigned short getrpacketevent(const tftp_packet_t *packet) argument
299 return (unsigned short)((packet->data[0] << 8) | packet
302 getrpacketblock(const tftp_packet_t *packet) argument
[all...]
/macosx-10.10/ipsec-286.1.1/ipsec-tools/racoon/
H A Disakmp_cfg.c128 * Handle an ISAKMP config mode packet
136 struct isakmp *packet; local
146 /* Check that the packet is long enough to have a header */
147 if (msg->l < sizeof(*packet)) {
150 CONSTSTR("MODE-Config. Unexpected short packet"),
151 CONSTSTR("Failed to process short MODE-Config packet"));
152 plog(ASL_LEVEL_ERR, "Unexpected short packet\n");
156 packet = (struct isakmp *)msg->v;
159 if ((packet->flags & ISAKMP_FLAG_E) == 0) {
170 * Decrypt the packet
[all...]
/macosx-10.10/ppp-786.1.1/Drivers/L2TP/L2TP-extension/
H A Dl2tp_rfc.c70 mbuf_t packet; member in struct:l2tp_elem
293 mbuf_freem(send_elem->packet);
298 mbuf_freem(recv_elem->packet);
676 take the packet present in the recv queue of the first rfc with tunnel id 0
691 /* transfer packet to new rfc */
693 TAILQ_REMOVE(&call_rfc->recv_queue, elem, next); /* remove the packet from the call socket */
697 if ((*rfc->inputcb)(rfc->host, elem->packet, (struct sockaddr *)elem->addr, 1)) { /* up to the socket */
718 /* control packet are received from pppd with an incomplete l2tp header in front,
723 /* data packet are received from ppp stack without a l2tp header and without address
779 elem->packet
[all...]
/macosx-10.10/SmartcardCCID-55008/libusb/libusb/libusb/
H A Dlibusb.h422 /** Maximum packet size for endpoint 0 */
476 /** Maximum packet size this endpoint is capable of sending/receiving. */
606 * Setup packet for control transfers. */
827 * wMaxPacketSize with an extra zero length packet. This is useful
829 * terminated by an incomplete packet (i.e. the logical requests are
838 * needs a ZLP whenever the end of the logical request falls on a packet
853 * Isochronous packet descriptor. */
855 /** Length of data to request in this packet */
861 /** Status code for this packet */
906 * \ref libusb_iso_packet_descriptor::status "status" field in each packet
1253 libusb_get_iso_packet_buffer( struct libusb_transfer *transfer, unsigned int packet) argument
1295 libusb_get_iso_packet_buffer_simple( struct libusb_transfer *transfer, unsigned int packet) argument
[all...]
/macosx-10.10/libpcap-48/libpcap/
H A Dfad-getad.c72 # include <netpacket/packet.h>
/macosx-10.10/dcerpc-61/dcerpc/ncklib/
H A Dcomsoc_smb.c472 rpc_cn_common_hdr_p_t packet
476 int packet_order = ((packet->drep[0] >> 4) & 1);
487 result = SWAB_16(packet->frag_len);
491 result = packet->frag_len;
504 rpc_cn_common_hdr_p_t packet = (rpc_cn_common_hdr_p_t) buffer->start_cursor; local
506 if (rpc__smb_buffer_pending(buffer) < sizeof(*packet))
508 return sizeof(*packet);
512 return (rpc__smb_fragment_size(packet));
523 rpc_cn_common_hdr_p_t packet = (rpc_cn_common_hdr_p_t) buffer->start_cursor; local
525 return (packet
1619 rpc_cn_common_hdr_p_t packet; local
[all...]
/macosx-10.10/AppleUSBCDCDriver-4205.2.2/AppleUSBCDCEEM/Headers/
H A DAppleUSBCDCEEM.h135 // EEM Data packet masks
140 // EEM Command packet masks
200 IOReturn USBTransmitPacket(mbuf_t packet);
204 void receivePacket(UInt8 *packet, UInt32 size);

Completed in 402 milliseconds

123456