Home
last modified time | relevance | path

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

/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/netinet/
Dsctp_header.h254 struct sctphdr sh;
323 struct sctphdr sh;
425 struct sctphdr sh;
566 sizeof(struct sctphdr) + \
572 sizeof(struct sctphdr) + \
577 sizeof(struct sctphdr))
581 sizeof(struct sctphdr) + \
587 sizeof(struct sctphdr) + \
592 sizeof(struct sctphdr))
598 sizeof(struct sctphdr) + \
[all …]
Dsctp_output.h88 struct sctphdr *, struct sctp_init_chunk *,
122 struct sctphdr *,
207 struct sctphdr *, uint32_t, struct mbuf *,
214 struct sctphdr *, uint32_t, struct mbuf *,
Dsctp_input.h47 struct sctphdr *, struct sctp_chunkhdr *,
Dsctp_output.c4124 struct sctphdr *sctphdr; local
4352 sctphdr = (struct sctphdr *)((caddr_t)udp + sizeof(struct udphdr));
4354 sctphdr = (struct sctphdr *)((caddr_t)ip + sizeof(struct ip));
4357 sctphdr->src_port = src_port;
4358 sctphdr->dest_port = dest_port;
4359 sctphdr->v_tag = v_tag;
4360 sctphdr->checksum = 0;
4407 sctphdr->checksum = sctp_calculate_cksum(m, sizeof(struct ip) + sizeof(struct udphdr));
4421 m->m_pkthdr.csum_data = offsetof(struct sctphdr, checksum);
4426 sctphdr->checksum = sctp_calculate_cksum(m, sizeof(struct ip));
[all …]
Dsctputil.h193 struct sctphdr *, struct mbuf *,
207 struct sctphdr *, struct sctp_inpcb *,
Dsctp_crc32.c815 offset += offsetof(struct sctphdr, checksum); in sctp_delayed_cksum()
Dsctp_input.c95 struct sockaddr *src, struct sockaddr *dst, struct sctphdr *sh, in sctp_handle_init()
457 struct sockaddr *src, struct sockaddr *dst, struct sctphdr *sh, in sctp_process_init_ack()
1412 struct sockaddr *src, struct sockaddr *dst, struct sctphdr *sh, in sctp_handle_init_ack()
1568 struct sctphdr *sh, struct sctp_state_cookie *cookie, int cookie_len,
1587 struct sctphdr *sh, struct sctp_state_cookie *cookie, int cookie_len, in sctp_process_cookie_existing()
2159 struct sctphdr *sh, struct sctp_state_cookie *cookie, int cookie_len,
2564 struct sctphdr *sh, struct sctp_cookie_echo_chunk *cp,
4587 } else if (offset + sizeof(struct sctphdr) > limit) {
4593 offset += sizeof(struct sctphdr);
4734 struct sctphdr *sh, struct sctp_chunkhdr *ch, struct sctp_inpcb *inp,
[all …]
Dsctp.h60 struct sctphdr { struct
Dsctp_cc_functions.c66 (net->cwnd > (net->mtu - sizeof(struct sctphdr)))) { in sctp_enforce_cwnd_limit()
68 if (net->cwnd < (net->mtu - sizeof(struct sctphdr))) { in sctp_enforce_cwnd_limit()
69 net->cwnd = net->mtu - sizeof(struct sctphdr); in sctp_enforce_cwnd_limit()
92 net->cwnd = (net->mtu - sizeof(struct sctphdr)) * cwnd_in_mtu; in sctp_set_initial_cc_param()
98 if (net->cwnd < (net->mtu - sizeof(struct sctphdr))) { in sctp_set_initial_cc_param()
99 net->cwnd = net->mtu - sizeof(struct sctphdr); in sctp_set_initial_cc_param()
1483 cwnd = (net->mtu - sizeof(struct sctphdr)) * cwnd_in_mtu; in sctp_cwnd_new_rtcc_transmission_begins()
Dsctp_pcb.h748 struct sctphdr *, struct sctp_chunkhdr *, struct sctp_inpcb **,
779 struct sctphdr *, struct sctp_inpcb **, struct sctp_nets **, uint32_t vrf_id);
Dsctputil.c4599 struct sctphdr *sh, struct mbuf *op_err,
4784 struct sctphdr *sh, struct sctp_inpcb *inp,
4871 offset = iphlen + sizeof(struct sctphdr);
8098 if (sp->m_pkthdr.len < sizeof(struct udphdr) + sizeof(struct sctphdr)) {
8104 sp = m_pullup(sp, sizeof(struct udphdr) + sizeof(struct sctphdr));
8157 struct sctphdr *sh;
8176 sh = (struct sctphdr *)(udp + 1);
8293 struct sctphdr sh;
8310 ip6cp->ip6c_off + sizeof(struct udphdr)+ offsetof(struct sctphdr, checksum)) {
8320 memset(&sh, 0, sizeof(struct sctphdr));
[all …]
Dsctp_var.h368 struct sctphdr;
Dsctp_usrreq.c207 overhead = IP_HDR_SIZE + sizeof(struct sctphdr); in sctp_pathmtu_adjustment()
372 struct sctphdr *sh;
398 sh = (struct sctphdr *)((caddr_t)inner_ip + (inner_ip->ip_hl << 2));
3018 paddrp->spp_pathmtu -= sizeof(struct sctphdr);
3197 paddri->spinfo_mtu -= sizeof(struct sctphdr);
3316 sstat->sstat_primary.spinfo_mtu -= sizeof(struct sctphdr);
6200 net->mtu += sizeof(struct sctphdr);
6348 net->mtu += sizeof(struct sctphdr);
7719 (net->cwnd > (net->mtu - sizeof(struct sctphdr)))) {
7721 if (net->cwnd < (net->mtu - sizeof(struct sctphdr))) {
[all …]
Dsctp_pcb.c2393 struct sctphdr *sh, struct sctp_inpcb **inp_p, struct sctp_nets **netp,
2602 struct sctphdr *sh, struct sctp_chunkhdr *ch,
2661 struct sockaddr *dst, struct sctphdr *sh,
4624 net->mtu += sizeof(struct sctphdr);
4680 net->mtu += sizeof(struct sctphdr);
6499 struct sctphdr *sh;
6508 offset = (ip->ip_hl << 2) + sizeof(struct sctphdr);
6516 sh = (struct sctphdr *)((caddr_t)ip + (ip->ip_hl << 2));
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/
Duser_recv_thread.c270 struct sctphdr *sh; in recv_function_raw()
375 sh = (struct sctphdr *)((caddr_t)iphdr + sizeof(struct ip)); in recv_function_raw()
376 ch = (struct sctp_chunkhdr *)((caddr_t)sh + sizeof(struct sctphdr)); in recv_function_raw()
377 offset = sizeof(struct ip) + sizeof(struct sctphdr); in recv_function_raw()
464 struct sctphdr *sh; in recv_function_raw6()
582 sh = mtod(recvmbuf6[0], struct sctphdr *); in recv_function_raw6()
583 ch = (struct sctp_chunkhdr *)((caddr_t)sh + sizeof(struct sctphdr)); in recv_function_raw6()
584 offset = sizeof(struct sctphdr); in recv_function_raw6()
640 struct sctphdr *sh; in recv_function_udp()
797 sh = mtod(udprecvmbuf[0], struct sctphdr *); in recv_function_udp()
[all …]
Duser_socket.c3298 struct sctphdr *sh;
3330 if (SCTP_BUF_LEN(m) < (int)(sizeof(struct sctphdr) + sizeof(struct sctp_chunkhdr))) {
3331 if ((m = m_pullup(m, sizeof(struct sctphdr) + sizeof(struct sctp_chunkhdr))) == NULL) {
3336 sh = mtod(m, struct sctphdr *);;
3337 ch = (struct sctp_chunkhdr *)((caddr_t)sh + sizeof(struct sctphdr));
3340 sctp_common_input_processing(&m, 0, sizeof(struct sctphdr), (int)length,
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/netinet6/
Dsctp6_usrreq.c142 struct sctphdr *sh;
202 offset = iphlen + sizeof(struct sctphdr) + sizeof(struct sctp_chunkhdr);
211 sh = (struct sctphdr *)(mtod(m, caddr_t) + iphlen);
212 ch = (struct sctp_chunkhdr *)((caddr_t)sh + sizeof(struct sctphdr));
415 struct sctphdr sh;
455 (int32_t)(ip6cp->ip6c_off + offsetof(struct sctphdr, checksum))) {
511 ip6cp->ip6c_off + sizeof(struct sctphdr) +
524 sizeof(struct sctphdr),
529 sizeof(struct sctphdr) +