Home
last modified time | relevance | path

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

/xnu-11417.121.6/libsyscall/wrappers/skywalk/
H A Dos_packet.c45 pkt_subtype_assert_fail(const packet_t ph, uint64_t type __unused, in pkt_subtype_assert_fail()
55 pkt_type_assert_fail(const packet_t ph, uint64_t type __unused) in pkt_type_assert_fail()
64 os_packet_set_headroom(const packet_t ph, const uint8_t headroom) in os_packet_set_headroom()
70 os_packet_get_headroom(const packet_t ph) in os_packet_get_headroom()
76 os_packet_set_link_header_length(const packet_t ph, const uint8_t off) in os_packet_set_link_header_length()
82 os_packet_get_link_header_length(const packet_t ph) in os_packet_get_link_header_length()
88 os_packet_set_link_broadcast(const packet_t ph) in os_packet_set_link_broadcast()
94 os_packet_get_link_broadcast(const packet_t ph) in os_packet_get_link_broadcast()
100 os_packet_set_link_multicast(const packet_t ph) in os_packet_set_link_multicast()
106 os_packet_get_link_multicast(const packet_t ph) in os_packet_get_link_multicast()
[all …]
H A Dos_channel.c1138 packet_t
1732 os_channel_packet_alloc_common(const channel_t chd, packet_t *ph, bool large) in os_channel_packet_alloc_common()
1809 os_channel_packet_alloc(const channel_t chd, packet_t *ph) in os_channel_packet_alloc()
1815 os_channel_large_packet_alloc(const channel_t chd, packet_t *ph) in os_channel_large_packet_alloc()
1821 os_channel_packet_free(const channel_t chd, packet_t ph) in os_channel_packet_free()
1873 const channel_slot_t slot, packet_t ph) in os_channel_slot_attach_packet()
1926 const channel_slot_t slot, packet_t ph) in os_channel_slot_detach_packet()
1993 packet_t ph; in os_channel_purge_packet_alloc_ring_common()
2252 return os_channel_packet_free(chd, (packet_t)ehandle); in os_channel_event_free()
/xnu-11417.121.6/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 …]
H A Dos_packet_private.h926 extern void pkt_subtype_assert_fail(const packet_t, uint64_t, uint64_t);
927 extern void pkt_type_assert_fail(const packet_t, uint64_t);
/xnu-11417.121.6/bsd/skywalk/channel/
H A Dos_channel.h417 extern packet_t os_channel_slot_get_packet(const channel_ring_t ring,
460 os_channel_packet_alloc(const channel_t chd, packet_t *packet);
469 os_channel_large_packet_alloc(const channel_t chd, packet_t *packet);
478 os_channel_packet_free(const channel_t chd, packet_t packet);
485 const channel_slot_t slot, packet_t packet);
492 const channel_slot_t slot, packet_t packet);
/xnu-11417.121.6/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()
419 custom_ether_receive(channel_t ch, custom_ether_args_t *args, packet_t pkt) in custom_ether_receive()
473 packet_t pkt = 0; in custom_ether_handler()
697 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.h293 void (^packet_prehook)(packet_t p));
303 extern packet_t sktu_channel_port_frame_to_pkt(channel_port_t port,
306 packet_t *frames, uint32_t n);
H A Dskt_xfer.c373 sktc_xfer_copy_data_to_packet(channel_port_t port, packet_t ph, in sktc_xfer_copy_data_to_packet()
509 tcp_frame_populate(channel_port_t port, packet_t ph, struct in_addr src_ip, in tcp_frame_populate()
599 udp_frame_populate(channel_port_t port, packet_t ph, struct in_addr src_ip, in udp_frame_populate()
694 ip_frame_populate(channel_port_t port, packet_t ph, uint8_t protocol, in ip_frame_populate()
758 frame_populate(channel_port_t port, packet_t ph, int protocol, in frame_populate()
801 tcp_frame_process(packet_t ph, void *data, size_t data_max) in tcp_frame_process()
877 udp_frame_process(packet_t ph, void *data, size_t data_max) in udp_frame_process()
960 ip_frame_process(packet_t ph, void * data, size_t data_max) in ip_frame_process()
1051 frame_process(packet_t ph, void *data, size_t data_max, bool verify_qos) in frame_process()
1138 void (^packet_prehook)(packet_t p))
[all …]
H A Dskywalk_test_utils.c816 packet_t pkt = os_channel_slot_get_packet(ring, slot); in sktc_chew_random()
1685 packet_t
1689 packet_t pkt; in sktu_channel_port_frame_to_pkt()
1755 sktu_channel_port_tx(channel_port_t port, packet_t pkt) in sktu_channel_port_tx()
1778 sktu_channel_port_tx_burst_pkt(channel_port_t port, packet_t *pkts, in sktu_channel_port_tx_burst_pkt()
1853 packet_t pkt; in sktu_channel_port_tx_burst()
2057 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()