Home
last modified time | relevance | path

Searched refs:net (Results 1 – 25 of 958) sorted by relevance

12345678910>>...39

/freebsd/sys/netinet/
H A Dsctp_cc_functions.c61 sctp_enforce_cwnd_limit(struct sctp_association *assoc, struct sctp_nets *net) in sctp_enforce_cwnd_limit() argument
64 (net->cwnd > assoc->max_cwnd) && in sctp_enforce_cwnd_limit()
65 (net->cwnd > (net->mtu - sizeof(struct sctphdr)))) { in sctp_enforce_cwnd_limit()
66 net->cwnd = assoc->max_cwnd; in sctp_enforce_cwnd_limit()
67 if (net->cwnd < (net->mtu - sizeof(struct sctphdr))) { in sctp_enforce_cwnd_limit()
68 net->cwnd = net->mtu - sizeof(struct sctphdr); in sctp_enforce_cwnd_limit()
74 sctp_set_initial_cc_param(struct sctp_tcb *stcb, struct sctp_nets *net) in sctp_set_initial_cc_param() argument
83 net->cwnd = min((net->mtu * 4), max((2 * net->mtu), SCTP_INITIAL_CWND)); in sctp_set_initial_cc_param()
91 net->cwnd = (net->mtu - sizeof(struct sctphdr)) * cwnd_in_mtu; in sctp_set_initial_cc_param()
96 net->cwnd /= assoc->numnets; in sctp_set_initial_cc_param()
[all …]
H A Dsctp_timer.c87 struct sctp_nets *net, uint16_t threshold) in sctp_threshold_management() argument
92 if (net != NULL) { in sctp_threshold_management()
93 net->error_count++; in sctp_threshold_management()
95 (void *)net, net->error_count, in sctp_threshold_management()
96 net->failure_threshold); in sctp_threshold_management()
97 if (net->error_count > net->failure_threshold) { in sctp_threshold_management()
99 if (net->dest_state & SCTP_ADDR_REACHABLE) { in sctp_threshold_management()
100 net->dest_state &= ~SCTP_ADDR_REACHABLE; in sctp_threshold_management()
101 net->dest_state &= ~SCTP_ADDR_REQ_PRIMARY; in sctp_threshold_management()
102 net->dest_state &= ~SCTP_ADDR_PF; in sctp_threshold_management()
[all …]
H A Dsctp_kdtrace.c44 SDT_PROBE_DEFINE5(sctp, cwnd, net, init,
55 SDT_PROBE_DEFINE5(sctp, cwnd, net, ack,
66 SDT_PROBE_DEFINE5(sctp, cwnd, net, rttvar,
74 SDT_PROBE_DEFINE5(sctp, cwnd, net, rttstep,
83 SDT_PROBE_DEFINE5(sctp, cwnd, net, fr,
94 SDT_PROBE_DEFINE5(sctp, cwnd, net, to,
105 SDT_PROBE_DEFINE5(sctp, cwnd, net, bl,
116 SDT_PROBE_DEFINE5(sctp, cwnd, net, ecn,
127 SDT_PROBE_DEFINE5(sctp, cwnd, net, pd,
151 SDT_PROBE_DEFINE5(sctp, flightsize, net, val,
H A Dsctp_kdtrace.h60 SDT_PROBE_DECLARE(sctp, cwnd, net, init);
62 SDT_PROBE_DECLARE(sctp, cwnd, net, ack);
64 SDT_PROBE_DECLARE(sctp, cwnd, net, fr);
66 SDT_PROBE_DECLARE(sctp, cwnd, net, to);
68 SDT_PROBE_DECLARE(sctp, cwnd, net, bl);
70 SDT_PROBE_DECLARE(sctp, cwnd, net, ecn);
72 SDT_PROBE_DECLARE(sctp, cwnd, net, pd);
74 SDT_PROBE_DECLARE(sctp, cwnd, net, rttvar);
75 SDT_PROBE_DECLARE(sctp, cwnd, net, rttstep);
79 SDT_PROBE_DECLARE(sctp, flightsize, net, val);
H A Dsctputil.c119 rto_logging(struct sctp_nets *net, int from) in rto_logging() argument
125 sctp_clog.x.rto.net = (void *)net; in rto_logging()
126 sctp_clog.x.rto.rtt = net->rtt / 1000; in rto_logging()
312 sctp_log_cwnd(struct sctp_tcb *stcb, struct sctp_nets *net, int augment, uint8_t from) in sctp_log_cwnd() argument
317 sctp_clog.x.cwnd.net = net; in sctp_log_cwnd()
327 if (net) { in sctp_log_cwnd()
328 sctp_clog.x.cwnd.cwnd_new_value = net->cwnd; in sctp_log_cwnd()
329 sctp_clog.x.cwnd.inflight = net->flight_size; in sctp_log_cwnd()
330 sctp_clog.x.cwnd.pseudo_cumack = net->pseudo_cumack; in sctp_log_cwnd()
331 sctp_clog.x.cwnd.meets_pseudo_cumack = net->new_pseudo_cumack; in sctp_log_cwnd()
[all …]
H A Dsctp_usrreq.c173 struct sctp_nets *net, in sctp_notify() argument
195 if (net->dest_state & SCTP_ADDR_REACHABLE) { in sctp_notify()
197 net->dest_state &= ~SCTP_ADDR_REACHABLE; in sctp_notify()
198 net->dest_state &= ~SCTP_ADDR_PF; in sctp_notify()
201 (void *)net, SCTP_SO_NOT_LOCKED); in sctp_notify()
212 if (net->dest_state & SCTP_ADDR_NO_PMTUD) { in sctp_notify()
226 if (SCTP_OS_TIMER_PENDING(&net->pmtu_timer.timer)) { in sctp_notify()
228 sctp_timer_stop(SCTP_TIMER_TYPE_PATHMTURAISE, inp, stcb, net, in sctp_notify()
234 if (net->port) { in sctp_notify()
237 if (net->mtu > next_mtu) { in sctp_notify()
[all …]
H A Dsctp_output.c2943 struct sctp_nets *net, in sctp_choose_boundall() argument
2991 if (net) { in sctp_choose_boundall()
2992 cur_addr_num = net->indx_of_eligible_next_to_use; in sctp_choose_boundall()
3028 if (net) { in sctp_choose_boundall()
3030 net->indx_of_eligible_next_to_use = cur_addr_num + 1; in sctp_choose_boundall()
3079 if (net) { in sctp_choose_boundall()
3080 net->indx_of_eligible_next_to_use = cur_addr_num + 1; in sctp_choose_boundall()
3086 SCTPDBG_ADDR(SCTP_DEBUG_OUTPUT2, &net->ro._l_addr.sa); in sctp_choose_boundall()
3296 struct sctp_nets *net, in sctp_source_address_selection() argument
3390 if (net != NULL) { in sctp_source_address_selection()
[all …]
H A Dsctp_pcb.c882 struct sctp_nets *net; in sctp_tcb_special_locate() local
1054 TAILQ_FOREACH(net, &stcb->asoc.nets, sctp_next) { in sctp_tcb_special_locate()
1055 if (net->ro._l_addr.sa.sa_family != from->sa_family) { in sctp_tcb_special_locate()
1065 sin = (struct sockaddr_in *)&net->ro._l_addr; in sctp_tcb_special_locate()
1071 *netp = net; in sctp_tcb_special_locate()
1089 sin6 = (struct sockaddr_in6 *)&net->ro._l_addr; in sctp_tcb_special_locate()
1095 *netp = net; in sctp_tcb_special_locate()
1135 struct sctp_nets *net; in sctp_findassociation_ep_addr() local
1212 TAILQ_FOREACH(net, &stcb->asoc.nets, sctp_next) { in sctp_findassociation_ep_addr()
1214 if (net == (TAILQ_NEXT(net, sctp_next))) { in sctp_findassociation_ep_addr()
[all …]
/freebsd/contrib/dialog/package/debian/
H A Dchangelog5 -- Thomas E. Dickey <dickey@invisible-island.net> Wed, 13 Jan 2021 19:58:21 -0500
11 -- Thomas E. Dickey <dickey@invisible-island.net> Mon, 11 Jan 2021 03:53:05 -0500
17 -- Thomas E. Dickey <dickey@invisible-island.net> Sun, 26 Jul 2020 11:17:16 -0400
23 -- Thomas E. Dickey <dickey@invisible-island.net> Thu, 19 Mar 2020 05:02:12 -0400
29 -- Thomas E. Dickey <dickey@invisible-island.net> Fri, 28 Feb 2020 20:31:15 -0500
35 -- Thomas E. Dickey <dickey@invisible-island.net> Tue, 31 Dec 2019 15:37:41 -0500
41 -- Thomas E. Dickey <dickey@invisible-island.net> Tue, 10 Dec 2019 17:19:19 -0500
47 -- Thomas E. Dickey <dickey@invisible-island.net> Mon, 09 Dec 2019 04:14:47 -0500
53 -- Thomas E. Dickey <dickey@invisible-island.net> Sun, 10 Nov 2019 17:48:23 -0500
59 -- Thomas E. Dickey <dickey@invisible-island.net> Wed, 25 Sep 2019 04:37:53 -0400
[all …]
/freebsd/libexec/rc/rc.d/
H A Dnetoptions43 ${SYSCTL} net.inet.tcp.log_in_vain=${log_in_vain} >/dev/null
44 ${SYSCTL} net.inet.udp.log_in_vain=${log_in_vain} >/dev/null
47 ${SYSCTL} net.inet.tcp.log_in_vain=0 >/dev/null
48 ${SYSCTL} net.inet.udp.log_in_vain=0 >/dev/null
53 ${SYSCTL} net.inet.tcp.rfc1323=1 >/dev/null
57 ${SYSCTL} net.inet.tcp.rfc1323=0 >/dev/null
61 ${SYSCTL} net.inet.tcp.always_keepalive=1 >/dev/null
65 ${SYSCTL} net.inet.tcp.always_keepalive=0 >/dev/null
71 ${SYSCTL} net.inet.tcp.drop_synfin=1 >/dev/null
73 ${SYSCTL} net.inet.tcp.drop_synfin=0 >/dev/null
[all …]
H A Drouting132 _fibs=$((`${SYSCTL_N} net.fibs` - 1))
147 _fibs=$((`${SYSCTL_N} net.fibs` - 1))
209 _fibs=$((`${SYSCTL_N} net.fibs` - 1))
317 ${SYSCTL} net.inet6.ip6.use_defaultzone=1 > /dev/null
356 ${SYSCTL} net.inet.icmp.bmcastecho=1 > /dev/null
358 ${SYSCTL} net.inet.icmp.bmcastecho=0 > /dev/null
374 ${SYSCTL} net.inet.icmp.drop_redirect=1 > /dev/null
376 ${SYSCTL} net.inet.icmp.drop_redirect=0 > /dev/null
382 ${SYSCTL} net.inet.icmp.log_redirect=1 > /dev/null
384 ${SYSCTL} net.inet.icmp.log_redirect=0 > /dev/null
[all …]
/freebsd/tools/build/test-includes/
H A Dbadfiles.inc144 net/bpf.h \
145 net/bpf_buffer.h \
146 net/bpf_jitter.h \
147 net/bpf_zerocopy.h \
148 net/bpfdesc.h \
149 net/debugnet_int.h \
150 net/firewire.h \
151 net/if_arp.h \
152 net/if_dl.h \
153 net/if_enc.h \
[all …]
/freebsd/contrib/bmake/mk/
H A DChangeLog1 2024-06-22 Simon J Gerraty <sjg@beast.crufty.net>
9 2024-05-31 Simon J Gerraty <sjg@beast.crufty.net>
14 2024-05-04 Simon J Gerraty <sjg@beast.crufty.net>
21 2024-04-24 Simon J Gerraty <sjg@beast.crufty.net>
25 2024-04-18 Simon J Gerraty <sjg@beast.crufty.net>
33 2024-04-09 Simon J Gerraty <sjg@beast.crufty.net>
51 2024-03-19 Simon J Gerraty <sjg@beast.crufty.net>
57 2024-03-09 Simon J Gerraty <sjg@beast.crufty.net>
64 2024-02-20 Simon J Gerraty <sjg@beast.crufty.net>
75 2024-02-18 Simon J Gerraty <sjg@beast.crufty.net>
[all …]
/freebsd/stand/efi/libefi/
H A Definet.c110 EFI_SIMPLE_NETWORK *net; in efinet_probe() local
120 status = BS->OpenProtocol(h, &sn_guid, (void **)&net, in efinet_probe()
136 EFI_SIMPLE_NETWORK *net; in efinet_put() local
140 net = nif->nif_devdata; in efinet_put()
141 if (net == NULL) in efinet_put()
144 status = net->Transmit(net, 0, len, pkt, NULL, NULL, NULL); in efinet_put()
151 status = net->GetStatus(net, NULL, &buf); in efinet_put()
166 EFI_SIMPLE_NETWORK *net; in efinet_get() local
173 net = nif->nif_devdata; in efinet_get()
174 if (net == NULL) in efinet_get()
[all …]
/freebsd/tests/sys/netpfil/pf/
H A Dmbuf.sh71 jexec alcatraz sysctl net.dummymbuf.rules="inet in ${epair}b pull-head 0;"
77 jexec alcatraz sysctl net.dummymbuf.rules="inet in ${epair}b pull-head 1;"
78 jexec alcatraz sysctl net.dummymbuf.hits=0
84 jexec alcatraz sysctl net.dummymbuf.rules="inet in ${epair}b pull-head 19;"
85 jexec alcatraz sysctl net.dummymbuf.hits=0
136 jexec alcatraz sysctl net.dummymbuf.rules="inet6 in ${epair}b pull-head 0;"
142 jexec alcatraz sysctl net.dummymbuf.rules="inet6 in ${epair}b pull-head 1;"
143 jexec alcatraz sysctl net.dummymbuf.hits=0
149 jexec alcatraz sysctl net.dummymbuf.rules="inet6 in ${epair}b pull-head 39;"
150 jexec alcatraz sysctl net.dummymbuf.hits=0
[all …]
/freebsd/lib/libc/inet/
H A Dinet_makeaddr.c45 inet_makeaddr(in_addr_t net, in_addr_t host) in inet_makeaddr() argument
49 if (net < 128U) in inet_makeaddr()
50 a.s_addr = (net << IN_CLASSA_NSHIFT) | (host & IN_CLASSA_HOST); in inet_makeaddr()
51 else if (net < 65536U) in inet_makeaddr()
52 a.s_addr = (net << IN_CLASSB_NSHIFT) | (host & IN_CLASSB_HOST); in inet_makeaddr()
53 else if (net < 16777216L) in inet_makeaddr()
54 a.s_addr = (net << IN_CLASSC_NSHIFT) | (host & IN_CLASSC_HOST); in inet_makeaddr()
56 a.s_addr = net | host; in inet_makeaddr()
/freebsd/contrib/netbsd-tests/net/net/
H A Dt_ipaddress.sh36 local net=10.0.0/24
50 check_route $net 'link#2' UC shmif0
58 check_route_no_entry $net
67 check_route $net 'link#2' UC shmif0
75 check_route_no_entry $net
83 local net=fc00::/64
97 check_route $net 'link#2' UC shmif0
105 check_route_no_entry $net
114 check_route $net 'link#2' UC shmif0
122 check_route_no_entry $net
[all …]
/freebsd/contrib/tcpdump/
H A DCREDITS6 Guy Harris <gharris at sonic dot net>
10 Aaron Campbell <aaron at arbor dot net>
11 ABHIMANYU <agupta07 at sourceforge dot net>
12 A Costa <agcosta at gis dot net>
17 Alexandra Kossovsky <alexandra1975 at sourceforge dot net>
23 Ananth Suryanarayana <anantha at juniper dot net>
27 Andrew Brown <atatat at atatdot dot net>
28 Andrew Church <andrew at users dot sourceforge dot net>
30 Andrew Hintz <adhintz at users dot sourceforge dot net>
34 Andy Heffernan <ahh at juniper dot net>
[all …]
/freebsd/contrib/bmake/
H A DChangeLog1 2024-07-13 Simon J Gerraty <sjg@beast.crufty.net>
7 2024-07-12 Simon J Gerraty <sjg@beast.crufty.net>
20 2024-07-11 Simon J Gerraty <sjg@beast.crufty.net>
29 2024-07-09 Simon J Gerraty <sjg@beast.crufty.net>
36 2024-07-07 Simon J Gerraty <sjg@beast.crufty.net>
46 2024-07-06 Simon J Gerraty <sjg@beast.crufty.net>
57 2024-07-04 Simon J Gerraty <sjg@beast.crufty.net>
66 2024-07-01 Simon J Gerraty <sjg@beast.crufty.net>
72 2024-06-30 Simon J Gerraty <sjg@beast.crufty.net>
84 2024-06-25 Simon J Gerraty <sjg@beast.crufty.net>
[all …]
/freebsd/contrib/flex/
H A DChangeLog21 2017-05-04 viktor.shepel <shepelvictor@bigmir.net>
1535 2015-11-13 lukeallardyce <lukeallardyce@users.sourceforge.net>
2721 2012-08-08 Robert Minsk <rminsk@users.sourceforge.net>
2725 2012-08-08 Robert Minsk <rminsk@users.sourceforge.net>
2751 2012-08-06 Elias Pipping <pipping@users.sourceforge.net>
2768 2012-08-04 nomis52 <nomis52@users.sourceforge.net>
2812 2012-07-29 Will Estes <wlestes@users.sourceforge.net>
2873 2012-07-23 Will Estes <wlestes@users.sourceforge.net>
2879 2012-07-22 Will Estes <wlestes@users.sourceforge.net>
2886 2012-07-22 Will Estes <wlestes@users.sourceforge.net>
[all …]
/freebsd/contrib/unbound/util/storage/
H A Ddnstree.c67 if(n1->net < n2->net) in addr_tree_compare()
69 if(n1->net > n2->net) in addr_tree_compare()
110 struct sockaddr_storage* addr, socklen_t addrlen, int net) in addr_tree_insert() argument
115 node->net = net; in addr_tree_insert()
131 m = addr_in_common(&prev->addr, prev->net, &node->addr, in addr_tree_init_parents_node()
132 node->net, node->addrlen); in addr_tree_init_parents_node()
136 if(p->net <= m) { in addr_tree_init_parents_node()
232 key.net = (addr_is_ip6(addr, addrlen)?128:32); in addr_tree_lookup()
243 m = addr_in_common(&result->addr, result->net, addr, in addr_tree_lookup()
244 key.net, addrlen); in addr_tree_lookup()
[all …]
/freebsd/sbin/nos-tun/
H A Dnos-tun.c84 int net; /* socket descriptor */ variable
198 close(net); in Finish()
312 if ((net = socket(AF_INET, SOCK_RAW, protnum)) < 0) { in main()
320 if (bind(net, &wherefrom, sizeof(wherefrom)) < 0) { in main()
326 if (connect(net,&whereto,sizeof(struct sockaddr_in)) < 0 ) { in main()
328 close(net); in main()
340 if (tun > net) in main()
343 lastfd = net; in main()
348 FD_SET(tun,&rfds); FD_SET(net,&rfds); in main()
353 close(net); in main()
[all …]
/freebsd/tools/tools/sysdoc/
H A Dtunables.mdoc1245 net.inet.accf.unloadable
1248 net.inet.icmp.bmcastecho
1251 net.inet.icmp.drop_redirect
1254 net.inet.icmp.icmplim
1257 net.inet.icmp.icmplim_output
1260 net.inet.icmp.log_redirect
1263 net.inet.icmp.maskfake
1266 net.inet.icmp.maskrepl
1269 net.inet.ip.accept_sourceroute
1275 net.inet.ip.check_interface
[all …]
/freebsd/contrib/netbsd-tests/net/mpls/
H A Dt_mpls_fw64.sh72 atf_check -s exit:0 rump.sysctl -q -w net.mpls.accept=1
73 atf_check -s exit:0 rump.sysctl -q -w net.inet6.ip6.forwarding=0
87 atf_check -s exit:0 rump.sysctl -q -w net.mpls.accept=1
88 atf_check -s exit:0 rump.sysctl -q -w net.mpls.forwarding=1
89 atf_check -s exit:0 rump.sysctl -q -w net.inet6.ip6.forwarding=0
104 atf_check -s exit:0 rump.sysctl -q -w net.mpls.accept=1
105 atf_check -s exit:0 rump.sysctl -q -w net.mpls.forwarding=1
106 atf_check -s exit:0 rump.sysctl -q -w net.inet6.ip6.forwarding=0
107 atf_check -s exit:0 rump.sysctl -q -w net.inet.ip.forwarding=0
122 atf_check -s exit:0 rump.sysctl -q -w net.mpls.accept=1
[all …]
/freebsd/crypto/heimdal/appl/telnet/telnet/
H A Dnetwork.c80 if (net >= FD_SETSIZE) in stilloob()
82 FD_SET(net, &excepts); in stilloob()
83 value = select(net+1, 0, 0, &excepts, &timeout); in stilloob()
91 if (FD_ISSET(net, &excepts)) { in stilloob()
133 n = send(net, (char *)netoring.consume, n, 0); /* normal write */ in netflush()
143 n = send(net, (char *)netoring.consume, 1, MSG_OOB);/* URGENT data */ in netflush()
150 NetClose(net); in netflush()

12345678910>>...39