Lines Matching refs:UNALIGNED_PUT
1353 UNALIGNED_PUT(conn->src.sin.sin_port, &th->th_sport); in tcp_header_add()
1354 UNALIGNED_PUT(conn->dst.sin.sin_port, &th->th_dport); in tcp_header_add()
1361 UNALIGNED_PUT(flags, &th->th_flags); in tcp_header_add()
1362 UNALIGNED_PUT(htons(conn->recv_win), &th->th_win); in tcp_header_add()
1363 UNALIGNED_PUT(htonl(seq), &th->th_seq); in tcp_header_add()
1366 UNALIGNED_PUT(htonl(conn->ack), &th->th_ack); in tcp_header_add()
1434 UNALIGNED_PUT(htonl(recv_mss), (uint32_t *)mss); in net_tcp_set_mss_opt()
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()
1511 UNALIGNED_PUT(RST, &th_rst->th_flags); in net_tcp_reply_rst()
1512 UNALIGNED_PUT(th_pkt->th_ack, &th_rst->th_seq); in net_tcp_reply_rst()
1516 UNALIGNED_PUT(RST | ACK, &th_rst->th_flags); in net_tcp_reply_rst()
1517 UNALIGNED_PUT(htonl(ack), &th_rst->th_ack); in net_tcp_reply_rst()