Home
last modified time | relevance | path

Searched refs:KNOT_XDP_MSG_TCP (Results 1 – 14 of 14) sorted by relevance

/dports/dns/knot3-lib/knot-3.1.5/src/libknot/xdp/
H A Dmsg_init.h45 if (flags & KNOT_XDP_MSG_TCP) { in msg_init()
56 msg_init_base(msg, query->flags & (KNOT_XDP_MSG_IPV6 | KNOT_XDP_MSG_TCP | KNOT_XDP_MSG_MSS)); in msg_init_reply()
64 if (msg->flags & KNOT_XDP_MSG_TCP) { in msg_init_reply()
H A Dprotocols.h62 msg->flags |= KNOT_XDP_MSG_TCP; in prot_read_tcp()
190 if (msg->flags & KNOT_XDP_MSG_TCP) { in prot_write_hdrs_len()
339 ip4->protocol = ((msg->flags & KNOT_XDP_MSG_TCP) ? IPPROTO_TCP : IPPROTO_UDP); in prot_write_ipv4()
350 if (msg->flags & KNOT_XDP_MSG_TCP) { in prot_write_ipv4()
369 ip6->nexthdr = ((msg->flags & KNOT_XDP_MSG_TCP) ? IPPROTO_TCP : IPPROTO_UDP); in prot_write_ipv6()
385 if (msg->flags & KNOT_XDP_MSG_TCP) { in prot_write_ipv6()
H A Dmsg.h36 KNOT_XDP_MSG_TCP = (1 << 1), /*!< This packet is a TCP (UDP otherwise). */ enumerator
H A Dtcp.c233 if (!(msg->flags & KNOT_XDP_MSG_TCP)) { in knot_tcp_relay()
468 knot_xdp_msg_flag_t fl = KNOT_XDP_MSG_TCP; in knot_tcp_send()
/dports/dns/knot3/knot-3.1.5/src/libknot/xdp/
H A Dmsg_init.h45 if (flags & KNOT_XDP_MSG_TCP) { in msg_init()
56 msg_init_base(msg, query->flags & (KNOT_XDP_MSG_IPV6 | KNOT_XDP_MSG_TCP | KNOT_XDP_MSG_MSS)); in msg_init_reply()
64 if (msg->flags & KNOT_XDP_MSG_TCP) { in msg_init_reply()
H A Dprotocols.h62 msg->flags |= KNOT_XDP_MSG_TCP; in prot_read_tcp()
190 if (msg->flags & KNOT_XDP_MSG_TCP) { in prot_write_hdrs_len()
339 ip4->protocol = ((msg->flags & KNOT_XDP_MSG_TCP) ? IPPROTO_TCP : IPPROTO_UDP); in prot_write_ipv4()
350 if (msg->flags & KNOT_XDP_MSG_TCP) { in prot_write_ipv4()
369 ip6->nexthdr = ((msg->flags & KNOT_XDP_MSG_TCP) ? IPPROTO_TCP : IPPROTO_UDP); in prot_write_ipv6()
385 if (msg->flags & KNOT_XDP_MSG_TCP) { in prot_write_ipv6()
H A Dmsg.h36 KNOT_XDP_MSG_TCP = (1 << 1), /*!< This packet is a TCP (UDP otherwise). */ enumerator
H A Dtcp.c233 if (!(msg->flags & KNOT_XDP_MSG_TCP)) { in knot_tcp_relay()
468 knot_xdp_msg_flag_t fl = KNOT_XDP_MSG_TCP; in knot_tcp_send()
/dports/dns/knot3/knot-3.1.5/tests/libknot/
H A Dtest_xdp_tcp.c89 ok(msg->flags & KNOT_XDP_MSG_TCP, "send: is TCP message"); in mock_send()
156 msg_init(msg, flags | KNOT_XDP_MSG_TCP); in prepare_msg()
363 survive->flags = (KNOT_XDP_MSG_TCP | KNOT_XDP_MSG_ACK); in test_many()
409 msgs[i].flags = KNOT_XDP_MSG_TCP | KNOT_XDP_MSG_ACK; in test_ibufs_size()
/dports/dns/knot3-lib/knot-3.1.5/tests/libknot/
H A Dtest_xdp_tcp.c89 ok(msg->flags & KNOT_XDP_MSG_TCP, "send: is TCP message"); in mock_send()
156 msg_init(msg, flags | KNOT_XDP_MSG_TCP); in prepare_msg()
363 survive->flags = (KNOT_XDP_MSG_TCP | KNOT_XDP_MSG_ACK); in test_many()
409 msgs[i].flags = KNOT_XDP_MSG_TCP | KNOT_XDP_MSG_ACK; in test_ibufs_size()
/dports/dns/knot3-lib/knot-3.1.5/src/knot/server/
H A Dxdp-handler.c114 if (!(msg->flags & KNOT_XDP_MSG_TCP)) { in handle_init()
148 if ((msg_recv->flags & KNOT_XDP_MSG_TCP) || in handle_udp()
/dports/dns/knot3/knot-3.1.5/src/knot/server/
H A Dxdp-handler.c114 if (!(msg->flags & KNOT_XDP_MSG_TCP)) { in handle_init()
148 if ((msg_recv->flags & KNOT_XDP_MSG_TCP) || in handle_udp()
/dports/dns/knot3-lib/knot-3.1.5/src/utils/kxdpgun/
H A Dmain.c292 flags |= (KNOT_XDP_MSG_TCP | KNOT_XDP_MSG_SYN | KNOT_XDP_MSG_MSS); in alloc_pkts()
/dports/dns/knot3/knot-3.1.5/src/utils/kxdpgun/
H A Dmain.c292 flags |= (KNOT_XDP_MSG_TCP | KNOT_XDP_MSG_SYN | KNOT_XDP_MSG_MSS); in alloc_pkts()