Home
last modified time | relevance | path

Searched refs:paylen (Results 1 – 4 of 4) sorted by relevance

/linux-2.4.37.9/net/sctp/
Dsm_make_chunk.c72 __u8 type, __u8 flags, int paylen);
115 const void *payload, size_t paylen) in sctp_init_cause() argument
123 len = sizeof(sctp_errhdr_t) + paylen; in sctp_init_cause()
128 chunk->subh.err_hdr = sctp_addto_chunk(chunk, paylen, payload); in sctp_init_cause()
802 size_t paylen) in sctp_make_abort_user() argument
808 retval = sctp_make_abort(asoc, NULL, sizeof(sctp_errhdr_t) + paylen); in sctp_make_abort_user()
812 if (paylen) { in sctp_make_abort_user()
814 payload = kmalloc(paylen, GFP_KERNEL); in sctp_make_abort_user()
818 err = memcpy_fromiovec(payload, msg->msg_iov, paylen); in sctp_make_abort_user()
823 sctp_init_cause(retval, SCTP_ERROR_USER_ABORT, payload, paylen); in sctp_make_abort_user()
[all …]
Dsm_statefuns.c72 size_t paylen);
840 size_t paylen = 0; in sctp_sf_heartbeat() local
848 paylen = sizeof(sctp_sender_hb_info_t); in sctp_sf_heartbeat()
849 reply = sctp_make_heartbeat(asoc, transport, &hbinfo, paylen); in sctp_sf_heartbeat()
937 size_t paylen = 0; in sctp_sf_beat_8_3() local
952 paylen = ntohs(chunk->chunk_hdr->length) - sizeof(sctp_chunkhdr_t); in sctp_sf_beat_8_3()
953 if (!pskb_pull(chunk->skb, paylen)) in sctp_sf_beat_8_3()
957 chunk->subh.hb_hdr, paylen); in sctp_sf_beat_8_3()
4961 size_t paylen) in sctp_abort_pkt_new() argument
4972 abort = sctp_make_abort(asoc, chunk, paylen); in sctp_abort_pkt_new()
[all …]
/linux-2.4.37.9/include/net/sctp/
Dsm.h232 const size_t paylen);
236 const size_t paylen);
241 size_t paylen);
/linux-2.4.37.9/net/ipv4/netfilter/
Dip_nat_snmp_basic.c1227 u_int16_t paylen = udplen - sizeof(struct udphdr); in snmp_translate() local
1249 paylen, &map, &udph->check)) { in snmp_translate()