Searched refs:TCP_DPORT_OFF (Results 1 – 1 of 1) sorted by relevance
46 #define TCP_DPORT_OFF (ETH_HLEN + sizeof(struct iphdr) + offsetof(struct tcphdr, dest)) macro49 __u16 old_port = htons(load_half(skb, TCP_DPORT_OFF)); in set_tcp_dest_port()52 bpf_skb_store_bytes(skb, TCP_DPORT_OFF, &new_port, sizeof(new_port), 0); in set_tcp_dest_port()