Searched refs:KNOT_XDP_MSG_TCP (Results 1 – 14 of 14) sorted by relevance
45 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()
62 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()
36 KNOT_XDP_MSG_TCP = (1 << 1), /*!< This packet is a TCP (UDP otherwise). */ enumerator
233 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()
89 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()
114 if (!(msg->flags & KNOT_XDP_MSG_TCP)) { in handle_init()148 if ((msg_recv->flags & KNOT_XDP_MSG_TCP) || in handle_udp()
292 flags |= (KNOT_XDP_MSG_TCP | KNOT_XDP_MSG_SYN | KNOT_XDP_MSG_MSS); in alloc_pkts()