Home
last modified time | relevance | path

Searched refs:sctphdr (Results 1 – 22 of 22) sorted by relevance

/f-stack/freebsd/netinet/
H A Dsctp_header.h229 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 Dsctp_output.h80 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 Dip_icmp.c280 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 Dsctp_input.h45 struct sctphdr *, struct sctp_chunkhdr *,
H A Dsctp_crc32.c134 offset += offsetof(struct sctphdr, checksum); in sctp_delayed_cksum()
H A Dsctputil.h177 struct sctphdr *, struct mbuf *,
189 struct sctphdr *, struct sctp_inpcb *,
H A Dsctp_pcb.h533 struct sctphdr *, struct sctp_chunkhdr *, struct sctp_inpcb **,
563 struct sctphdr *, struct sctp_inpcb **, struct sctp_nets **, uint32_t vrf_id);
H A Dsctp_output.c3990 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 Dsctp_input.c87 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 Dsctp.h48 struct sctphdr { struct
H A Dsctp_cc_functions.c62 (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 Dsctp_var.h321 struct sctphdr;
H A Dsctputil.c4358 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 Dsctp_usrreq.c115 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 Dsctp_pcb.c2026 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 Dip_fw2.c254 #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 Dip_fw_log.c80 #define SCTP(p) ((struct sctphdr *)(p))
/f-stack/freebsd/netinet6/
H A Dsctp6_usrreq.c69 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 Dalias_sctp.h173 struct sctphdr *sctp_hdr; /**< pointer to sctp common header */
H A Dalias_sctp.c209 … 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 Dsctp.h48 struct sctphdr { struct
/f-stack/freebsd/netgraph/netflow/
H A Dng_netflow.c806 M_CHECK(sizeof(struct sctphdr)); in ng_netflow_rcvdata()
852 M_CHECK(sizeof(struct sctphdr)); in ng_netflow_rcvdata()