Home
last modified time | relevance | path

Searched refs:packet_t (Results 1 – 10 of 10) sorted by relevance

/xnu-12377.61.12/libsyscall/wrappers/skywalk/
H A Dos_packet.c43 os_packet_set_headroom(const packet_t ph, const uint8_t headroom) in os_packet_set_headroom()
49 os_packet_get_headroom(const packet_t ph) in os_packet_get_headroom()
55 os_packet_set_link_header_length(const packet_t ph, const uint8_t off) in os_packet_set_link_header_length()
61 os_packet_get_link_header_length(const packet_t ph) in os_packet_get_link_header_length()
67 os_packet_set_link_broadcast(const packet_t ph) in os_packet_set_link_broadcast()
73 os_packet_get_link_broadcast(const packet_t ph) in os_packet_get_link_broadcast()
79 os_packet_set_link_multicast(const packet_t ph) in os_packet_set_link_multicast()
85 os_packet_get_link_multicast(const packet_t ph) in os_packet_get_link_multicast()
91 os_packet_set_link_ethfcs(const packet_t ph) in os_packet_set_link_ethfcs()
97 os_packet_get_link_ethfcs(const packet_t ph) in os_packet_get_link_ethfcs()
[all …]
H A Dos_channel.c1101 packet_t
1673 os_channel_packet_alloc_common(const channel_t chd, packet_t *ph, bool large) in os_channel_packet_alloc_common()
1750 os_channel_packet_alloc(const channel_t chd, packet_t *ph) in os_channel_packet_alloc()
1756 os_channel_large_packet_alloc(const channel_t chd, packet_t *ph) in os_channel_large_packet_alloc()
1762 os_channel_packet_free(const channel_t chd, packet_t ph) in os_channel_packet_free()
1814 const channel_slot_t slot, packet_t ph) in os_channel_slot_attach_packet()
1867 const channel_slot_t slot, packet_t ph) in os_channel_slot_detach_packet()
1934 packet_t ph; in os_channel_purge_packet_alloc_ring_common()
2191 return os_channel_packet_free(chd, (packet_t)ehandle); in os_channel_event_free()
/xnu-12377.61.12/bsd/skywalk/packet/
H A Dos_packet.h383 typedef uint64_t packet_t; typedef
391 extern int os_packet_set_headroom(const packet_t, const uint8_t);
392 extern uint8_t os_packet_get_headroom(const packet_t);
393 extern int os_packet_set_link_header_length(const packet_t, const uint8_t);
394 extern uint8_t os_packet_get_link_header_length(const packet_t);
395 extern int os_packet_set_link_broadcast(const packet_t);
396 extern boolean_t os_packet_get_link_broadcast(const packet_t);
397 extern int os_packet_set_link_multicast(const packet_t);
398 extern boolean_t os_packet_get_link_multicast(const packet_t);
399 extern int os_packet_set_link_ethfcs(const packet_t);
[all …]
/xnu-12377.61.12/bsd/skywalk/channel/
H A Dos_channel.h409 extern packet_t os_channel_slot_get_packet(const channel_ring_t ring,
457 os_channel_packet_alloc(const channel_t chd, packet_t *packet);
466 os_channel_large_packet_alloc(const channel_t chd, packet_t *packet);
475 os_channel_packet_free(const channel_t chd, packet_t packet);
482 const channel_slot_t slot, packet_t packet);
489 const channel_slot_t slot, packet_t packet);
/xnu-12377.61.12/tests/skywalk/
H A Dskt_filter.c184 put_packet(channel_t ch, ring_id_t ring_id, packet_t pkt) in put_packet()
205 get_packet(channel_t ch, ring_id_t r, packet_t *pktp) in get_packet()
210 packet_t pkt; in get_packet()
277 packet_t pkt; in custom_ether_send()
352 custom_ether_verify(packet_t pkt, custom_ether_args_t *args) in custom_ether_verify()
418 custom_ether_receive(channel_t ch, custom_ether_args_t *args, packet_t pkt) in custom_ether_receive()
472 packet_t pkt = 0; in custom_ether_handler()
696 packet_t pkt = 0; in process_ring()
H A Dskt_netifdirect.c188 skt_netif_ipv6_udp_frame_populate(packet_t ph, struct ether_addr *src_mac, in skt_netif_ipv6_udp_frame_populate()
255 skt_netif_ipv6_udp_frame_process(packet_t ph, void *data, size_t data_max) in skt_netif_ipv6_udp_frame_process()
299 void (^packet_prehook)(packet_t p))
311 packet_t pkt = 0;
409 packet_t pkt; in skt_netif_channel_receive()
640 void (^packet_prehook)(packet_t p) = NULL; in skt_netif_send_and_receive()
642 packet_prehook = ^(packet_t pkt) { in skt_netif_send_and_receive()
H A Dskywalk_test_utils.h291 void (^packet_prehook)(packet_t p));
301 extern packet_t sktu_channel_port_frame_to_pkt(channel_port_t port,
304 packet_t *frames, uint32_t n);
H A Dskt_xfer.c374 sktc_xfer_copy_data_to_packet(channel_port_t port, packet_t ph, in sktc_xfer_copy_data_to_packet()
510 tcp_frame_populate(channel_port_t port, packet_t ph, struct in_addr src_ip, in tcp_frame_populate()
600 udp_frame_populate(channel_port_t port, packet_t ph, struct in_addr src_ip, in udp_frame_populate()
695 ip_frame_populate(channel_port_t port, packet_t ph, uint8_t protocol, in ip_frame_populate()
759 frame_populate(channel_port_t port, packet_t ph, int protocol, in frame_populate()
802 tcp_frame_process(packet_t ph, void *data, size_t data_max) in tcp_frame_process()
878 udp_frame_process(packet_t ph, void *data, size_t data_max) in udp_frame_process()
961 ip_frame_process(packet_t ph, void * data, size_t data_max) in ip_frame_process()
1052 frame_process(packet_t ph, void *data, size_t data_max, bool verify_qos) in frame_process()
1139 void (^packet_prehook)(packet_t p))
[all …]
H A Dskywalk_test_utils.c802 packet_t pkt = os_channel_slot_get_packet(ring, slot); in sktc_chew_random()
1664 packet_t
1668 packet_t pkt; in sktu_channel_port_frame_to_pkt()
1734 sktu_channel_port_tx(channel_port_t port, packet_t pkt) in sktu_channel_port_tx()
1757 sktu_channel_port_tx_burst_pkt(channel_port_t port, packet_t *pkts, in sktu_channel_port_tx_burst_pkt()
1832 packet_t pkt; in sktu_channel_port_tx_burst()
2036 packet_t pkt; in sktu_channel_port_rx()
H A Dskt_mangle.c131 packet_t pkt = sktu_channel_port_frame_to_pkt(&ctx->port, tx_frame); in skt_mangle_verify_internalize_metadata()