| /f-stack/freebsd/netinet/ |
| H A D | sctp_header.h | 229 struct sctphdr sh; 295 struct sctphdr sh; 393 struct sctphdr sh; 533 sizeof(struct sctphdr) + \ 539 sizeof(struct sctphdr) + \ 543 sizeof(struct sctphdr)) 547 sizeof(struct sctphdr) + \ 553 sizeof(struct sctphdr) + \ 557 sizeof(struct sctphdr)) 563 sizeof(struct sctphdr) + \ [all …]
|
| H A D | sctp_output.h | 80 struct sctphdr *, struct sctp_init_chunk *, 112 struct sctphdr *, 176 struct sctphdr *, uint32_t, struct mbuf *, 182 struct sctphdr *, uint32_t, struct mbuf *,
|
| H A D | ip_icmp.c | 280 struct sctphdr *sh; in icmp_error() 283 if (ntohs(oip->ip_len) < oiphlen + sizeof(struct sctphdr)) in icmp_error() 285 if (oiphlen + sizeof(struct sctphdr) > n->m_len && in icmp_error() 288 if (n->m_len < oiphlen + sizeof(struct sctphdr) && in icmp_error() 289 (n = m_pullup(n, oiphlen + sizeof(struct sctphdr))) == NULL) in icmp_error() 292 icmpelen = max(sizeof(struct sctphdr), in icmp_error() 297 sizeof(struct sctphdr) + 8 && in icmp_error() 298 (n->m_len >= oiphlen + sizeof(struct sctphdr) + 8 || in icmp_error() 300 if (n->m_len < oiphlen + sizeof(struct sctphdr) + 8 && in icmp_error() 302 sizeof(struct sctphdr) + 8)) == NULL) in icmp_error() [all …]
|
| H A D | sctp_input.h | 45 struct sctphdr *, struct sctp_chunkhdr *,
|
| H A D | sctp_crc32.c | 134 offset += offsetof(struct sctphdr, checksum); in sctp_delayed_cksum()
|
| H A D | sctputil.h | 177 struct sctphdr *, struct mbuf *, 189 struct sctphdr *, struct sctp_inpcb *,
|
| H A D | sctp_pcb.h | 533 struct sctphdr *, struct sctp_chunkhdr *, struct sctp_inpcb **, 563 struct sctphdr *, struct sctp_inpcb **, struct sctp_nets **, uint32_t vrf_id);
|
| H A D | sctp_output.c | 3990 struct sctphdr *sctphdr; in sctp_lowlevel_chunk_output() local 4161 sctphdr = (struct sctphdr *)((caddr_t)udp + sizeof(struct udphdr)); in sctp_lowlevel_chunk_output() 4163 sctphdr = (struct sctphdr *)((caddr_t)ip + sizeof(struct ip)); in sctp_lowlevel_chunk_output() 4168 sctphdr->v_tag = v_tag; in sctp_lowlevel_chunk_output() 4169 sctphdr->checksum = 0; in sctp_lowlevel_chunk_output() 4485 sctphdr = (struct sctphdr *)((caddr_t)udp + sizeof(struct udphdr)); in sctp_lowlevel_chunk_output() 4487 sctphdr = (struct sctphdr *)((caddr_t)ip6h + sizeof(struct ip6_hdr)); in sctp_lowlevel_chunk_output() 4492 sctphdr->v_tag = v_tag; in sctp_lowlevel_chunk_output() 4493 sctphdr->checksum = 0; in sctp_lowlevel_chunk_output() 11000 struct sctphdr *shout; in sctp_send_resp_msg() [all …]
|
| H A D | sctp_input.c | 87 struct sockaddr *src, struct sockaddr *dst, struct sctphdr *sh, in sctp_handle_init() 432 struct sockaddr *src, struct sockaddr *dst, struct sctphdr *sh, in sctp_process_init_ack() 2293 struct sctphdr *sh, struct sctp_cookie_echo_chunk *cp, in sctp_handle_cookie_echo() 4207 } else if (offset + sizeof(struct sctphdr) > limit) { in sctp_handle_packet_dropped() 4213 offset += sizeof(struct sctphdr); in sctp_handle_packet_dropped() 5319 struct sctphdr *sh, struct sctp_chunkhdr *ch, in sctp_common_input_processing() 5707 struct sctphdr *sh; in sctp_input_with_port() 5751 sh = (struct sctphdr *)((caddr_t)ip + iphlen); in sctp_input_with_port() 5817 struct sctphdr *sh; in sctp_input() 5829 offset = off + sizeof(struct sctphdr); in sctp_input() [all …]
|
| H A D | sctp.h | 48 struct sctphdr { struct
|
| H A D | sctp_cc_functions.c | 62 (net->cwnd > (net->mtu - sizeof(struct sctphdr)))) { in sctp_enforce_cwnd_limit() 64 if (net->cwnd < (net->mtu - sizeof(struct sctphdr))) { in sctp_enforce_cwnd_limit() 65 net->cwnd = net->mtu - sizeof(struct sctphdr); in sctp_enforce_cwnd_limit() 88 net->cwnd = (net->mtu - sizeof(struct sctphdr)) * cwnd_in_mtu; in sctp_set_initial_cc_param() 94 if (net->cwnd < (net->mtu - sizeof(struct sctphdr))) { in sctp_set_initial_cc_param() 95 net->cwnd = net->mtu - sizeof(struct sctphdr); in sctp_set_initial_cc_param() 1387 cwnd = (net->mtu - sizeof(struct sctphdr)) * cwnd_in_mtu; in sctp_cwnd_new_rtcc_transmission_begins()
|
| H A D | sctp_var.h | 321 struct sctphdr;
|
| H A D | sctputil.c | 4358 struct sctphdr *sh, struct mbuf *op_err, in sctp_abort_association() 4486 struct sctphdr *sh, struct sctp_inpcb *inp, in sctp_handle_ootb() 4561 offset = iphlen + sizeof(struct sctphdr); in sctp_is_there_an_abort_here() 7108 sp = m_pullup(sp, sizeof(struct udphdr) + sizeof(struct sctphdr)); in sctp_recv_udp_tunneled_packet() 7161 struct sctphdr *sh; in sctp_recv_icmp_tunneled_packet() 7180 sh = (struct sctphdr *)(udp + 1); in sctp_recv_icmp_tunneled_packet() 7274 struct sctphdr sh; in sctp_recv_icmp6_tunneled_packet() 7301 memset(&sh, 0, sizeof(struct sctphdr)); in sctp_recv_icmp6_tunneled_packet() 7350 sizeof(struct sctphdr) + in sctp_recv_icmp6_tunneled_packet() 7364 sizeof(struct sctphdr), in sctp_recv_icmp6_tunneled_packet() [all …]
|
| H A D | sctp_usrreq.c | 115 overhead = IP_HDR_SIZE + sizeof(struct sctphdr); in sctp_pathmtu_adjustment() 249 struct sctphdr *sh; in sctp_ctlinput() 271 sh = (struct sctphdr *)((caddr_t)inner_ip + (inner_ip->ip_hl << 2)); in sctp_ctlinput() 6837 (net->cwnd > (net->mtu - sizeof(struct sctphdr)))) { 6839 if (net->cwnd < (net->mtu - sizeof(struct sctphdr))) { 6840 net->cwnd = net->mtu - sizeof(struct sctphdr);
|
| H A D | sctp_pcb.c | 2026 struct sctphdr *sh, struct sctp_inpcb **inp_p, struct sctp_nets **netp, in sctp_findassociation_special_addr() 2220 struct sctphdr *sh, struct sctp_chunkhdr *ch, in sctp_findassociation_addr() 2279 struct sockaddr *dst, struct sctphdr *sh, in sctp_findassociation_ep_asconf()
|
| /f-stack/freebsd/netpfil/ipfw/ |
| H A D | ip_fw2.c | 254 #define SCTP(p) ((struct sctphdr *)(p)) 525 struct sctphdr *sctp; in ipfw_send_abort() 581 sctp = (struct sctphdr *)(ip + 1); in ipfw_send_abort() 594 sctp = (struct sctphdr *)(ip6 + 1); in ipfw_send_abort() 911 struct sctphdr *sctp; in send_reject6() 1029 struct sctphdr *sctp; in send_reject() 1060 sizeof(struct sctphdr) + in send_reject() 1548 sizeof(struct sctphdr) + in ipfw_chk() 1555 sizeof(struct sctphdr)); in ipfw_chk() 1735 sizeof(struct sctphdr) + in ipfw_chk() [all …]
|
| H A D | ip_fw_log.c | 80 #define SCTP(p) ((struct sctphdr *)(p))
|
| /f-stack/freebsd/netinet6/ |
| H A D | sctp6_usrreq.c | 69 struct sctphdr *sh; in sctp6_input_with_port() 105 offset = iphlen + sizeof(struct sctphdr) + sizeof(struct sctp_chunkhdr); in sctp6_input_with_port() 114 sh = (struct sctphdr *)(mtod(m, caddr_t)+iphlen); in sctp6_input_with_port() 115 ch = (struct sctp_chunkhdr *)((caddr_t)sh + sizeof(struct sctphdr)); in sctp6_input_with_port() 257 struct sctphdr sh; in sctp6_ctlinput() 294 (int32_t)(ip6cp->ip6c_off + offsetof(struct sctphdr, checksum))) { in sctp6_ctlinput() 342 ip6cp->ip6c_off + sizeof(struct sctphdr) + in sctp6_ctlinput() 355 sizeof(struct sctphdr), in sctp6_ctlinput() 360 sizeof(struct sctphdr) + in sctp6_ctlinput()
|
| /f-stack/freebsd/netinet/libalias/ |
| H A D | alias_sctp.h | 173 struct sctphdr *sctp_hdr; /**< pointer to sctp common header */
|
| H A D | alias_sctp.c | 209 … SN_SCTP_FIRSTCHUNK(sctphead) (struct sctp_chunkhdr *)(((char *)sctphead) + sizeof(struct sctphdr)) 920 …int sctp_size = sizeof(struct sctphdr) + sizeof(struct sctp_chunkhdr) + sizeof(struct sctp_error_c… in TxAbortErrorM() 933 struct sctphdr* sctp_hdr = (struct sctphdr *) ((char *) ip + sizeof(*ip)); in TxAbortErrorM() 1040 struct sctphdr *sctp_hdr; in sctp_PktParser() 1065 if (bytes_left < sizeof(struct sctphdr)) { in sctp_PktParser() 1070 sm->sctp_hdr = sctp_hdr = (struct sctphdr *) ip_next(pip); in sctp_PktParser() 1071 bytes_left -= sizeof(struct sctphdr); in sctp_PktParser()
|
| /f-stack/tools/compat/include/netinet/ |
| H A D | sctp.h | 48 struct sctphdr { struct
|
| /f-stack/freebsd/netgraph/netflow/ |
| H A D | ng_netflow.c | 806 M_CHECK(sizeof(struct sctphdr)); in ng_netflow_rcvdata() 852 M_CHECK(sizeof(struct sctphdr)); in ng_netflow_rcvdata()
|