Home
last modified time | relevance | path

Searched refs:reasm (Results 1 – 25 of 180) sorted by relevance

12345678

/dports/net/nmsg/nmsg-1.0.1/nmsg/base/
H A Dipreasm.c195 reasm->waiting++; in reasm_ip_next()
196 if (reasm->waiting > reasm->max_waiting) in reasm_ip_next()
197 reasm->max_waiting = reasm->waiting; in reasm_ip_next()
201 reasm->dropped_frags++; in reasm_ip_next()
324 struct reasm_ip *reasm = malloc(sizeof(*reasm)); in reasm_ip_new() local
325 if (reasm == NULL) in reasm_ip_new()
328 memset(reasm, 0, sizeof(*reasm)); in reasm_ip_new()
329 return (reasm); in reasm_ip_new()
341 free(reasm); in reasm_ip_free()
437 reasm->waiting--; in remove_entry()
[all …]
H A Dipreasm.h89 void reasm_ip_free(struct reasm_ip *reasm);
102 bool reasm_ip_next(struct reasm_ip *reasm, const uint8_t *packet, unsigned len,
125 bool reasm_ip_set_timeout(struct reasm_ip *reasm, const struct timespec *timeout);
130 unsigned reasm_ip_waiting(const struct reasm_ip *reasm);
131 unsigned reasm_ip_max_waiting(const struct reasm_ip *reasm);
132 unsigned reasm_ip_timed_out(const struct reasm_ip *reasm);
133 unsigned reasm_ip_dropped_frags(const struct reasm_ip *reasm);
/dports/net/nmsg/nmsg-1.0.1/nmsg/
H A Dipreasm.c269 reasm->waiting++; in reasm_ip_next()
270 if (reasm->waiting > reasm->max_waiting) in reasm_ip_next()
271 reasm->max_waiting = reasm->waiting; in reasm_ip_next()
395 struct reasm_ip *reasm = malloc (sizeof (*reasm)); in reasm_ip_new() local
396 if (reasm == NULL) in reasm_ip_new()
399 memset (reasm, 0, sizeof (*reasm)); in reasm_ip_new()
400 return reasm; in reasm_ip_new()
408 drop_entry (reasm, reasm->time_first); in reasm_ip_free()
409 free (reasm); in reasm_ip_free()
507 reasm->waiting--; in drop_entry()
[all …]
H A Dipreasm.h39 void reasm_ip_free (struct reasm_ip *reasm);
54 bool reasm_ip_next (struct reasm_ip *reasm, const unsigned char *packet,
63 bool reasm_ip_set_timeout (struct reasm_ip *reasm, reasm_time_t timeout);
68 unsigned reasm_ip_waiting (const struct reasm_ip *reasm);
69 unsigned reasm_ip_max_waiting (const struct reasm_ip *reasm);
70 unsigned reasm_ip_timed_out (const struct reasm_ip *reasm);
71 unsigned reasm_ip_dropped_frags (const struct reasm_ip *reasm);
H A Dipdg.c102 res = _nmsg_ipdg_parse_reasm(dg, etype, len, pkt, pcap->reasm, in nmsg_ipdg_parse_pcap()
121 const u_char *pkt, struct _nmsg_ipreasm *reasm, in _nmsg_ipdg_parse_reasm() argument
217 if (is_fragment == true && reasm != NULL) { in _nmsg_ipdg_parse_reasm()
220 rres = reasm_ip_next(reasm, dg->network, dg->len_network, in _nmsg_ipdg_parse_reasm()
232 if (is_fragment == true && reasm == NULL) in _nmsg_ipdg_parse_reasm()
H A Dpcap_input.c36 pcap->reasm = reasm_ip_new(); in nmsg_pcap_input_open()
37 if (pcap->reasm == NULL) { in nmsg_pcap_input_open()
42 reasm_ip_set_timeout(pcap->reasm, 60); in nmsg_pcap_input_open()
59 reasm_ip_free((*pcap)->reasm); in nmsg_pcap_input_close()
/dports/multimedia/libv4l/linux-5.13-rc2/net/sctp/
H A Dulpqueue.c47 skb_queue_head_init(&ulpq->reasm); in sctp_ulpq_init()
283 pos = skb_peek_tail(&ulpq->reasm); in sctp_ulpq_store_reasm()
298 skb_queue_walk(&ulpq->reasm, pos) { in sctp_ulpq_store_reasm()
431 skb_queue_walk(&ulpq->reasm, pos) { in sctp_ulpq_retrieve_reassembled()
490 &ulpq->reasm, in sctp_ulpq_retrieve_reassembled()
520 if (skb_queue_empty(&ulpq->reasm)) in sctp_ulpq_retrieve_partial()
619 if (skb_queue_empty(&ulpq->reasm)) in sctp_ulpq_retrieve_first()
691 if (skb_queue_empty(&ulpq->reasm)) in sctp_ulpq_reasm_flushtsn()
704 __skb_unlink(pos, &ulpq->reasm); in sctp_ulpq_reasm_flushtsn()
720 if (skb_queue_empty(&ulpq->reasm)) in sctp_ulpq_reasm_drain()
[all …]
H A Dstream_interleave.c130 pos = skb_peek_tail(&ulpq->reasm); in sctp_intl_store_reasm()
132 __skb_queue_tail(&ulpq->reasm, sctp_event2skb(event)); in sctp_intl_store_reasm()
155 skb_queue_walk(&ulpq->reasm, pos) { in sctp_intl_store_reasm()
194 skb_queue_walk(&ulpq->reasm, pos) { in sctp_intl_retrieve_partial()
274 skb_queue_walk(&ulpq->reasm, pos) { in sctp_intl_retrieve_reassembled()
329 &ulpq->reasm, in sctp_intl_retrieve_reassembled()
877 skb_queue_walk(&ulpq->reasm, pos) { in sctp_intl_retrieve_first()
922 &ulpq->reasm, first_frag, in sctp_intl_retrieve_first()
937 if (!skb_queue_empty(&ulpq->reasm)) { in sctp_intl_start_pd()
1217 skb_queue_walk_safe(&ulpq->reasm, pos, tmp) { in sctp_intl_reasm_flushtsn()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/net/sctp/
H A Dulpqueue.c47 skb_queue_head_init(&ulpq->reasm); in sctp_ulpq_init()
283 pos = skb_peek_tail(&ulpq->reasm); in sctp_ulpq_store_reasm()
298 skb_queue_walk(&ulpq->reasm, pos) { in sctp_ulpq_store_reasm()
431 skb_queue_walk(&ulpq->reasm, pos) { in sctp_ulpq_retrieve_reassembled()
490 &ulpq->reasm, in sctp_ulpq_retrieve_reassembled()
520 if (skb_queue_empty(&ulpq->reasm)) in sctp_ulpq_retrieve_partial()
619 if (skb_queue_empty(&ulpq->reasm)) in sctp_ulpq_retrieve_first()
691 if (skb_queue_empty(&ulpq->reasm)) in sctp_ulpq_reasm_flushtsn()
704 __skb_unlink(pos, &ulpq->reasm); in sctp_ulpq_reasm_flushtsn()
720 if (skb_queue_empty(&ulpq->reasm)) in sctp_ulpq_reasm_drain()
[all …]
H A Dstream_interleave.c130 pos = skb_peek_tail(&ulpq->reasm); in sctp_intl_store_reasm()
132 __skb_queue_tail(&ulpq->reasm, sctp_event2skb(event)); in sctp_intl_store_reasm()
155 skb_queue_walk(&ulpq->reasm, pos) { in sctp_intl_store_reasm()
194 skb_queue_walk(&ulpq->reasm, pos) { in sctp_intl_retrieve_partial()
274 skb_queue_walk(&ulpq->reasm, pos) { in sctp_intl_retrieve_reassembled()
329 &ulpq->reasm, in sctp_intl_retrieve_reassembled()
877 skb_queue_walk(&ulpq->reasm, pos) { in sctp_intl_retrieve_first()
922 &ulpq->reasm, first_frag, in sctp_intl_retrieve_first()
937 if (!skb_queue_empty(&ulpq->reasm)) { in sctp_intl_start_pd()
1217 skb_queue_walk_safe(&ulpq->reasm, pos, tmp) { in sctp_intl_reasm_flushtsn()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/net/sctp/
H A Dulpqueue.c47 skb_queue_head_init(&ulpq->reasm); in sctp_ulpq_init()
283 pos = skb_peek_tail(&ulpq->reasm); in sctp_ulpq_store_reasm()
298 skb_queue_walk(&ulpq->reasm, pos) { in sctp_ulpq_store_reasm()
431 skb_queue_walk(&ulpq->reasm, pos) { in sctp_ulpq_retrieve_reassembled()
490 &ulpq->reasm, in sctp_ulpq_retrieve_reassembled()
520 if (skb_queue_empty(&ulpq->reasm)) in sctp_ulpq_retrieve_partial()
619 if (skb_queue_empty(&ulpq->reasm)) in sctp_ulpq_retrieve_first()
691 if (skb_queue_empty(&ulpq->reasm)) in sctp_ulpq_reasm_flushtsn()
704 __skb_unlink(pos, &ulpq->reasm); in sctp_ulpq_reasm_flushtsn()
720 if (skb_queue_empty(&ulpq->reasm)) in sctp_ulpq_reasm_drain()
[all …]
H A Dstream_interleave.c130 pos = skb_peek_tail(&ulpq->reasm); in sctp_intl_store_reasm()
132 __skb_queue_tail(&ulpq->reasm, sctp_event2skb(event)); in sctp_intl_store_reasm()
155 skb_queue_walk(&ulpq->reasm, pos) { in sctp_intl_store_reasm()
194 skb_queue_walk(&ulpq->reasm, pos) { in sctp_intl_retrieve_partial()
274 skb_queue_walk(&ulpq->reasm, pos) { in sctp_intl_retrieve_reassembled()
329 &ulpq->reasm, in sctp_intl_retrieve_reassembled()
877 skb_queue_walk(&ulpq->reasm, pos) { in sctp_intl_retrieve_first()
922 &ulpq->reasm, first_frag, in sctp_intl_retrieve_first()
937 if (!skb_queue_empty(&ulpq->reasm)) { in sctp_intl_start_pd()
1217 skb_queue_walk_safe(&ulpq->reasm, pos, tmp) { in sctp_intl_reasm_flushtsn()
[all …]
/dports/dns/dnscap/dnscap-2.0.1/src/
H A Dtcpstate.c109 if (tcpstate->reasm) { in tcpstate_discard()
110 tcpreasm_free(tcpstate->reasm); in tcpstate_discard()
136 if (tcpstate->reasm) { in tcpstate_reset()
137 tcpreasm_reset(tcpstate->reasm); in tcpstate_reset()
138 tcpstate->reasm->seq_start = tcpstate->start; in tcpstate_reset()
H A Dnetwork.c589 if (tcpstate->reasm) { in network_pkt2()
646 if (!tcpstate->reasm) { in network_pkt2()
820 if (tcpstate && tcpstate->reasm) { in network_pkt2()
1031 if (tcpstate && tcpstate->reasm) { in network_pkt2()
1033 tcpstate->reasm->dnsmsg[m] = 0; in network_pkt2()
1034 tcpstate->reasm->dnsmsgs--; in network_pkt2()
1277 if (tcpstate->reasm) { in network_pkt()
1329 if (!tcpstate->reasm) { in network_pkt()
1489 if (tcpstate && tcpstate->reasm) { in network_pkt()
1746 if (tcpstate && tcpstate->reasm) { in network_pkt()
[all …]
/dports/net-mgmt/p5-SNMP_Session/SNMP_Session-1.13/test/
H A Dwalk-test.pl80 $bcast, $reasm) = @_;
83 $bcast, $reasm);
94 if (defined $reasm) {
95 printf "%6d", $reasm;
/dports/multimedia/libv4l/linux-5.13-rc2/include/net/sctp/
H A Dulpqueue.h32 struct sk_buff_head reasm; member
/dports/multimedia/v4l_compat/linux-5.13-rc2/include/net/sctp/
H A Dulpqueue.h32 struct sk_buff_head reasm; member
/dports/multimedia/v4l-utils/linux-5.13-rc2/include/net/sctp/
H A Dulpqueue.h32 struct sk_buff_head reasm; member
/dports/www/firefox-esr/firefox-91.8.0/netwerk/sctp/src/netinet/
H A Dsctp_indata.c166 TAILQ_INIT(&read_queue_e->reasm); in sctp_build_readq_entry()
487 TAILQ_REMOVE(&control->reasm, chk, sctp_next); in sctp_clean_up_control()
781 TAILQ_INIT(&nc->reasm); in sctp_build_readq_entry_from_ctl()
859 if (!TAILQ_EMPTY(&control->reasm)) { in sctp_handle_old_unordered_data()
865 tchk = TAILQ_FIRST(&control->reasm); in sctp_handle_old_unordered_data()
887 tchk = TAILQ_FIRST(&control->reasm); in sctp_handle_old_unordered_data()
893 tchk = TAILQ_FIRST(&control->reasm); in sctp_handle_old_unordered_data()
977 at = TAILQ_FIRST(&control->reasm); in sctp_inject_old_unordered_data()
1060 TAILQ_FOREACH(at, &control->reasm, sctp_next) { in sctp_inject_old_unordered_data()
5536 if (!TAILQ_EMPTY(&control->reasm)) {
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/usrsctp/usrsctplib/usrsctplib/netinet/
H A Dsctp_indata.c166 TAILQ_INIT(&read_queue_e->reasm); in sctp_build_readq_entry()
484 TAILQ_REMOVE(&control->reasm, chk, sctp_next); in sctp_clean_up_control()
779 TAILQ_INIT(&nc->reasm); in sctp_build_readq_entry_from_ctl()
856 if (!TAILQ_EMPTY(&control->reasm)) { in sctp_handle_old_unordered_data()
862 tchk = TAILQ_FIRST(&control->reasm); in sctp_handle_old_unordered_data()
884 tchk = TAILQ_FIRST(&control->reasm); in sctp_handle_old_unordered_data()
890 tchk = TAILQ_FIRST(&control->reasm); in sctp_handle_old_unordered_data()
974 at = TAILQ_FIRST(&control->reasm); in sctp_inject_old_unordered_data()
1057 TAILQ_FOREACH(at, &control->reasm, sctp_next) { in sctp_inject_old_unordered_data()
5511 if (!TAILQ_EMPTY(&control->reasm)) {
[all …]
/dports/net-im/tg_owt/tg_owt-d578c76/src/third_party/usrsctp/usrsctplib/usrsctplib/netinet/
H A Dsctp_indata.c166 TAILQ_INIT(&read_queue_e->reasm); in sctp_build_readq_entry()
484 TAILQ_REMOVE(&control->reasm, chk, sctp_next); in sctp_clean_up_control()
779 TAILQ_INIT(&nc->reasm); in sctp_build_readq_entry_from_ctl()
856 if (!TAILQ_EMPTY(&control->reasm)) { in sctp_handle_old_unordered_data()
862 tchk = TAILQ_FIRST(&control->reasm); in sctp_handle_old_unordered_data()
884 tchk = TAILQ_FIRST(&control->reasm); in sctp_handle_old_unordered_data()
890 tchk = TAILQ_FIRST(&control->reasm); in sctp_handle_old_unordered_data()
974 at = TAILQ_FIRST(&control->reasm); in sctp_inject_old_unordered_data()
1057 TAILQ_FOREACH(at, &control->reasm, sctp_next) { in sctp_inject_old_unordered_data()
5508 if (!TAILQ_EMPTY(&control->reasm)) {
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/usrsctp/usrsctplib/usrsctplib/netinet/
H A Dsctp_indata.c163 TAILQ_INIT(&read_queue_e->reasm); in sctp_build_readq_entry()
477 TAILQ_REMOVE(&control->reasm, chk, sctp_next); in sctp_clean_up_control()
769 TAILQ_INIT(&nc->reasm); in sctp_build_readq_entry_from_ctl()
847 if (!TAILQ_EMPTY(&control->reasm)) { in sctp_handle_old_unordered_data()
853 tchk = TAILQ_FIRST(&control->reasm); in sctp_handle_old_unordered_data()
875 tchk = TAILQ_FIRST(&control->reasm); in sctp_handle_old_unordered_data()
881 tchk = TAILQ_FIRST(&control->reasm); in sctp_handle_old_unordered_data()
965 at = TAILQ_FIRST(&control->reasm); in sctp_inject_old_unordered_data()
1048 TAILQ_FOREACH(at, &control->reasm, sctp_next) { in sctp_inject_old_unordered_data()
5497 if (!TAILQ_EMPTY(&control->reasm)) {
[all …]
/dports/www/firefox/firefox-99.0/netwerk/sctp/src/netinet/
H A Dsctp_indata.c166 TAILQ_INIT(&read_queue_e->reasm); in sctp_build_readq_entry()
487 TAILQ_REMOVE(&control->reasm, chk, sctp_next); in sctp_clean_up_control()
781 TAILQ_INIT(&nc->reasm); in sctp_build_readq_entry_from_ctl()
859 if (!TAILQ_EMPTY(&control->reasm)) { in sctp_handle_old_unordered_data()
865 tchk = TAILQ_FIRST(&control->reasm); in sctp_handle_old_unordered_data()
887 tchk = TAILQ_FIRST(&control->reasm); in sctp_handle_old_unordered_data()
893 tchk = TAILQ_FIRST(&control->reasm); in sctp_handle_old_unordered_data()
977 at = TAILQ_FIRST(&control->reasm); in sctp_inject_old_unordered_data()
1060 TAILQ_FOREACH(at, &control->reasm, sctp_next) { in sctp_inject_old_unordered_data()
5536 if (!TAILQ_EMPTY(&control->reasm)) {
[all …]
/dports/net/libusrsctp/usrsctp-0.9.5.0/usrsctplib/netinet/
H A Dsctp_indata.c163 TAILQ_INIT(&read_queue_e->reasm); in sctp_build_readq_entry()
477 TAILQ_REMOVE(&control->reasm, chk, sctp_next); in sctp_clean_up_control()
769 TAILQ_INIT(&nc->reasm); in sctp_build_readq_entry_from_ctl()
847 if (!TAILQ_EMPTY(&control->reasm)) { in sctp_handle_old_unordered_data()
853 tchk = TAILQ_FIRST(&control->reasm); in sctp_handle_old_unordered_data()
875 tchk = TAILQ_FIRST(&control->reasm); in sctp_handle_old_unordered_data()
881 tchk = TAILQ_FIRST(&control->reasm); in sctp_handle_old_unordered_data()
965 at = TAILQ_FIRST(&control->reasm); in sctp_inject_old_unordered_data()
1048 TAILQ_FOREACH(at, &control->reasm, sctp_next) { in sctp_inject_old_unordered_data()
5497 if (!TAILQ_EMPTY(&control->reasm)) {
[all …]
/dports/www/libdatachannel/libdatachannel-0.16.1/deps/usrsctp/usrsctplib/netinet/
H A Dsctp_indata.c163 TAILQ_INIT(&read_queue_e->reasm); in sctp_build_readq_entry()
477 TAILQ_REMOVE(&control->reasm, chk, sctp_next); in sctp_clean_up_control()
769 TAILQ_INIT(&nc->reasm); in sctp_build_readq_entry_from_ctl()
847 if (!TAILQ_EMPTY(&control->reasm)) { in sctp_handle_old_unordered_data()
853 tchk = TAILQ_FIRST(&control->reasm); in sctp_handle_old_unordered_data()
875 tchk = TAILQ_FIRST(&control->reasm); in sctp_handle_old_unordered_data()
881 tchk = TAILQ_FIRST(&control->reasm); in sctp_handle_old_unordered_data()
965 at = TAILQ_FIRST(&control->reasm); in sctp_inject_old_unordered_data()
1048 TAILQ_FOREACH(at, &control->reasm, sctp_next) { in sctp_inject_old_unordered_data()
5497 if (!TAILQ_EMPTY(&control->reasm)) {
[all …]

12345678