Searched refs:th_sport (Results 1 – 3 of 3) sorted by relevance
/Zephyr-latest/tests/net/tcp/src/ |
D | main.c | 284 th->th_sport = src_port; in tester_prepare_tcp_pkt() 542 th->th_sport); in handle_client_test() 555 reply = prepare_ack_packet(af, htons(MY_PORT), th->th_sport); in handle_client_test() 564 th->th_sport); in handle_client_test() 1081 th->th_sport); in handle_syn_rst_ack() 1144 th->th_sport); in handle_client_fin_wait_2_test() 1157 reply = prepare_ack_packet(af, htons(MY_PORT), th->th_sport); in handle_client_fin_wait_2_test() 1165 reply = prepare_ack_packet(af, htons(MY_PORT), th->th_sport); in handle_client_fin_wait_2_test() 1169 reply = prepare_fin_packet(af, htons(MY_PORT), th->th_sport); in handle_client_fin_wait_2_test() 1269 th->th_sport); in handle_client_fin_wait_2_failure_test() [all …]
|
/Zephyr-latest/subsys/net/ip/ |
D | tcp_private.h | 16 #define th_sport(_x) UNALIGNED_GET(&(_x)->th_sport) macro 167 uint16_t th_sport; member
|
D | tcp.c | 199 ep->sin.sin_port = src == TCP_EP_SRC ? th_sport(th) : in tcp_endpoint_set() 223 ep->sin6.sin6_port = src == TCP_EP_SRC ? th_sport(th) : in tcp_endpoint_set() 1353 UNALIGNED_PUT(conn->src.sin.sin_port, &th->th_sport); in tcp_header_add() 1506 UNALIGNED_PUT(th_pkt->th_dport, &th_rst->th_sport); in net_tcp_reply_rst() 1507 UNALIGNED_PUT(th_pkt->th_sport, &th_rst->th_dport); in net_tcp_reply_rst()
|