Lines Matching refs:tcphdr

150 static struct tcphdr *th_get(struct net_pkt *pkt)  in th_get()
153 struct tcphdr *th = NULL; in th_get()
190 struct tcphdr *th; in tcp_endpoint_set()
214 struct tcphdr *th; in tcp_endpoint_set()
326 struct tcphdr *th = th_get(pkt); in tcp_data_len()
339 struct tcphdr *th = th_get(pkt); in tcp_th()
1078 sizeof(struct tcphdr)); in tcp_options_get()
1244 struct tcphdr *th = th_get(pkt); in tcp_check_pending_data()
1343 NET_PKT_DATA_ACCESS_DEFINE(tcp_access, struct tcphdr); in tcp_header_add()
1344 struct tcphdr *th; in tcp_header_add()
1346 th = (struct tcphdr *)net_pkt_get_data(pkt, &tcp_access); in tcp_header_add()
1351 memset(th, 0, sizeof(struct tcphdr)); in tcp_header_add()
1464 NET_PKT_DATA_ACCESS_DEFINE(tcp_access_rst, struct tcphdr); in net_tcp_reply_rst()
1465 struct tcphdr *th_pkt = th_get(pkt); in net_tcp_reply_rst()
1466 struct tcphdr *th_rst; in net_tcp_reply_rst()
1476 sizeof(struct tcphdr)); in net_tcp_reply_rst()
1499 th_rst = (struct tcphdr *)net_pkt_get_data(rst, &tcp_access_rst); in net_tcp_reply_rst()
1504 memset(th_rst, 0, sizeof(struct tcphdr)); in net_tcp_reply_rst()
1543 size_t alloc_len = sizeof(struct tcphdr); in tcp_out_ext()
2246 struct tcphdr *th; in tcp_recv()
2512 static bool tcp_validate_seq(struct tcp *conn, struct tcphdr *hdr) in tcp_validate_seq()
2518 static int32_t tcp_compute_new_length(struct tcp *conn, struct tcphdr *hdr, size_t len, in tcp_compute_new_length()
2803 struct tcphdr *th = pkt ? th_get(pkt) : NULL; in tcp_in()
4135 struct tcphdr *th = th_get(pkt); in tcp_input()