Home
last modified time | relevance | path

Searched refs:ips (Results 1 – 25 of 43) sorted by relevance

12

/freebsd-13-stable/tools/tools/crypto/
HDipsecstats.c89 struct ipsecstat ips; in main() local
95 slen = sizeof (ips); in main()
96 if (sysctlbyname("net.inet.ipsec.ipsecstats", &ips, &slen, NULL, 0) < 0) in main()
163 if (ips.ips_in_polvio+ips.ips_out_polvio) in main()
165 (uintmax_t)ips.ips_in_polvio, in main()
166 (uintmax_t)ips.ips_out_polvio); in main()
167 STAT(ips.ips_out_nosa, "no SA found %ju (output)"); in main()
168 STAT(ips.ips_out_nomem, "no memory available %ju (output)"); in main()
169 STAT(ips.ips_out_noroute, "no route available %ju (output)"); in main()
170 STAT(ips.ips_out_inval, "generic error %ju (output)"); in main()
[all …]
/freebsd-13-stable/sys/netpfil/ipfilter/netinet/
HDip_sync.c354 ipf_sync_storder(int way, ipstate_t *ips) in ipf_sync_storder() argument
356 ipf_sync_tcporder(way, &ips->is_tcp.ts_data[0]); in ipf_sync_storder()
357 ipf_sync_tcporder(way, &ips->is_tcp.ts_data[1]); in ipf_sync_storder()
360 ips->is_hv = htonl(ips->is_hv); in ipf_sync_storder()
361 ips->is_die = htonl(ips->is_die); in ipf_sync_storder()
362 ips->is_pass = htonl(ips->is_pass); in ipf_sync_storder()
363 ips->is_flags = htonl(ips->is_flags); in ipf_sync_storder()
364 ips->is_opt[0] = htonl(ips->is_opt[0]); in ipf_sync_storder()
365 ips->is_opt[1] = htonl(ips->is_opt[1]); in ipf_sync_storder()
366 ips->is_optmsk[0] = htonl(ips->is_optmsk[0]); in ipf_sync_storder()
[all …]
HDip_htable.c1115 u_32_t msk, ips; in ipf_iphmfind() local
1123 ips = addr->s_addr & msk; in ipf_iphmfind()
1124 hv = IPE_V4_HASH_FN(ips, msk, iph->iph_size); in ipf_iphmfind()
1128 (ipe->ipe_addr.in4_addr != ips)) { in ipf_iphmfind()
1313 i6addr_t *msk, ips; in ipf_iphmfind6() local
1321 ips.i6[0] = addr->i6[0] & msk->i6[0]; in ipf_iphmfind6()
1322 ips.i6[1] = addr->i6[1] & msk->i6[1]; in ipf_iphmfind6()
1323 ips.i6[2] = addr->i6[2] & msk->i6[2]; in ipf_iphmfind6()
1324 ips.i6[3] = addr->i6[3] & msk->i6[3]; in ipf_iphmfind6()
1325 hv = IPE_V6_HASH_FN(ips.i6, msk->i6, iph->iph_size); in ipf_iphmfind6()
[all …]
HDip_state.c826 ipstate_save_t ips; in ipf_state_getent() local
829 error = ipf_inobj(softc, data, NULL, &ips, IPFOBJ_STATESAVE); in ipf_state_getent()
834 isn = ips.ips_next; in ipf_state_getent()
838 if (ips.ips_next == NULL) { in ipf_state_getent()
860 ips.ips_next = isn->is_next; in ipf_state_getent()
861 bcopy((char *)isn, (char *)&ips.ips_is, sizeof(ips.ips_is)); in ipf_state_getent()
862 ips.ips_rule = isn->is_rule; in ipf_state_getent()
864 bcopy((char *)isn->is_rule, (char *)&ips.ips_fr, in ipf_state_getent()
865 sizeof(ips.ips_fr)); in ipf_state_getent()
867 error = ipf_outobj(softc, data, &ips, IPFOBJ_STATESAVE); in ipf_state_getent()
[all …]
/freebsd-13-stable/sbin/ipf/ipfs/
HDipfs.c92 ipstate_save_t ips; in changestateif() local
102 if (nlen >= sizeof(ips.ips_is.is_ifname) || in changestateif()
103 olen >= sizeof(ips.ips_is.is_ifname)) in changestateif()
112 for (pos = 0; read(fd, &ips, sizeof(ips)) == sizeof(ips); ) { in changestateif()
114 if (!strncmp(ips.ips_is.is_ifname[0], ifs, olen + 1)) { in changestateif()
115 strcpy(ips.ips_is.is_ifname[0], s); in changestateif()
118 if (!strncmp(ips.ips_is.is_ifname[1], ifs, olen + 1)) { in changestateif()
119 strcpy(ips.ips_is.is_ifname[1], s); in changestateif()
122 if (!strncmp(ips.ips_is.is_ifname[2], ifs, olen + 1)) { in changestateif()
123 strcpy(ips.ips_is.is_ifname[2], s); in changestateif()
[all …]
/freebsd-13-stable/sys/modules/ips/
HDMakefile2 .PATH: ${SRCTOP}/sys/dev/ips
3 KMOD = ips
4 SRCS = ips.c ips_pci.c ips.h ips_disk.c ips_disk.h ips_commands.c \
10 CWARNFLAGS.ips.c= ${NO_WSOMETIMES_UNINITIALIZED}
/freebsd-13-stable/usr.bin/pr/
HDpr.c182 int ips; in onecol() local
248 ips = 0; in onecol()
272 if (otln(obuf,cnt+off, &ips, &ops, mor)) in onecol()
274 } else if (otln(lbuf, cnt, &ips, &ops, mor)) in onecol()
291 ips = 0; in onecol()
352 int ips = 0; in vertcol() local
547 ips = 0; in vertcol()
550 otln(buf,offst,&ips,&ops,1)) in vertcol()
574 if (otln(vc[tvc].pt, cnt, &ips, in vertcol()
584 if (otln(buf, 0, &ips, &ops, 0)) in vertcol()
[all …]
/freebsd-13-stable/sbin/ipf/ipfstat/
HDipfstat.c1089 ipstate_t ips; in showipstates() local
1091 is = fetchstate(is, &ips); in showipstates()
1096 is = ips.is_next; in showipstates()
1098 (state_matcharray(&ips, filter) == 0)) { in showipstates()
1103 printstatefield(&ips, state_fields[i].w_value); in showipstates()
1109 printstate(&ips, opts, ipsp->iss_ticks); in showipstates()
1290 ipstate_t ips; in topipstates() local
1341 for (; ipsstp->iss_list; ipsstp->iss_list = ips.is_next) { in topipstates()
1343 ipsstp->iss_list = fetchstate(ipsstp->iss_list, &ips); in topipstates()
1347 if (ver != 0 && ips.is_v != ver) in topipstates()
[all …]
/freebsd-13-stable/sys/contrib/dpdk_rte_lpm/
HDrte_lpm.h324 #define rte_lpm_lookup_bulk(lpm, ips, next_hops, n) \ argument
325 rte_lpm_lookup_bulk_func(lpm, ips, next_hops, n)
328 rte_lpm_lookup_bulk_func(const struct rte_lpm *lpm, const uint32_t *ips, in rte_lpm_lookup_bulk_func() argument
336 RTE_LPM_RETURN_IF_TRUE(((lpm == NULL) || (ips == NULL) || in rte_lpm_lookup_bulk_func()
340 tbl24_indexes[i] = ips[i] >> 8; in rte_lpm_lookup_bulk_func()
352 unsigned tbl8_index = (uint8_t)ips[i] + in rte_lpm_lookup_bulk_func()
HDrte_lpm6.h158 uint8_t ips[][RTE_LPM6_IPV6_ADDR_SIZE], uint8_t *depths, unsigned n);
202 uint8_t ips[][RTE_LPM6_IPV6_ADDR_SIZE],
HDrte_lpm6.c987 uint8_t ips[][RTE_LPM6_IPV6_ADDR_SIZE], in rte_lpm6_lookup_bulk_func()
998 if ((lpm == NULL) || (ips == NULL) || (next_hops == NULL)) in rte_lpm6_lookup_bulk_func()
1003 tbl24_index = (ips[i][0] << BYTES2_SIZE) | in rte_lpm6_lookup_bulk_func()
1004 (ips[i][1] << BYTE_SIZE) | ips[i][2]; in rte_lpm6_lookup_bulk_func()
1013 status = lookup_step(lpm, tbl, &tbl_next, ips[i], in rte_lpm6_lookup_bulk_func()
1094 uint8_t ips[][RTE_LPM6_IPV6_ADDR_SIZE], uint8_t *depths,
1101 if ((lpm == NULL) || (ips == NULL) || (depths == NULL))
1105 ip6_copy_addr(masked_ip, ips[i]);
/freebsd-13-stable/tests/atf_python/sys/net/
HDtools.py84 ips = []
88 ret[ifname] = ips
89 ips = []
97 ips.append((ip, scopeid))
99 ret[ifname] = ips
/freebsd-13-stable/tests/sys/netinet6/
HDoutput6.sh311ips="d3:c4:eb:40 2b:ff:dd:52 b1:d4:44:0e 41:2c:4d:43 66:4a:b4:be 8b:da:ac:f7 ca:d1:c4:f0 b1:31:da:…
317 for i in ${ips}; do
346 num_ips=`echo ${ips} | wc -w`
372 for _ip in ${ips}; do
452ips="d3:c4:eb:40 2b:ff:dd:52 b1:d4:44:0e 41:2c:4d:43 66:4a:b4:be 8b:da:ac:f7 ca:d1:c4:f0 b1:31:da:…
458 for i in ${ips}; do
488 num_ips=`echo ${ips} | wc -w`
514 for _ip in ${ips}; do
590ips="9d:33:f2:7f 48:06:9a:0b cf:96:d5:78 76:da:8e:28 d4:66:38:1e ec:43:da:7c bb:f8:93:2f d3:c4:eb:…
591ips="${ips} c7:31:0e:ae 8d:ed:35:2e c0:e0:22:31 82:1c:4e:28 c1:00:60:3e 6a:4f:3b:6c 8e:a7:e9:57 2b…
[all …]
/freebsd-13-stable/tests/sys/netinet/
HDoutput.sh284ips="4 29 48 53 55 61 71 80 84 87 90 91 119 131 137 153 154 158 162 169 169 171 176 187 197 228 23…
290 for i in ${ips}; do
308 num_ips=`echo ${ips} | wc -w`
334 for _ip in ${ips}; do
413ips="4 29 48 53 55 61 71 80 84 87 90 91 119 131 137 153 154 158 162 169 169 171 176 187 197 228 23…
419 for i in ${ips}; do
437 num_ips=`echo ${ips} | wc -w`
463 for _ip in ${ips}; do
537ips="4 29 48 53 55 61 71 80 84 87 90 91 119 131 137 153 154 158 162 169 169 171 176 187 197 228 23…
542 for i in ${ips}; do
[all …]
/freebsd-13-stable/sys/netgraph/
HDng_cisco.c280 struct in_addr *ips; in cisco_rcvmsg() local
283 2 * sizeof(*ips), M_NOWAIT); in cisco_rcvmsg()
288 ips = (struct in_addr *) resp->data; in cisco_rcvmsg()
289 ips[0] = sc->localip; in cisco_rcvmsg()
290 ips[1] = sc->localmask; in cisco_rcvmsg()
296 struct in_addr *const ips = (struct in_addr *)msg->data; in cisco_rcvmsg() local
298 if (msg->header.arglen < 2 * sizeof(*ips)) { in cisco_rcvmsg()
302 sc->localip = ips[0]; in cisco_rcvmsg()
303 sc->localmask = ips[1]; in cisco_rcvmsg()
/freebsd-13-stable/tests/sys/net/
HDif_wg.sh75 endpoint ${endpoint2}:12345 allowed-ips ${tunnel2}/32
81 endpoint ${endpoint1}:12345 allowed-ips ${tunnel1}/32
125 allowed-ips "${tunnel1}/32"
170 allowed-ips "${tunnel1}/32"
227 endpoint 127.0.0.1:12346 allowed-ips ${tunnel2}/32
233 endpoint 127.0.0.1:12345 allowed-ips ${tunnel1}/32
/freebsd-13-stable/sys/contrib/device-tree/Bindings/mfd/
HDaxp20x.txt116 LDO_IO0 : LDO : ips-supply : GPIO 0
117 LDO_IO1 : LDO : ips-supply : GPIO 1
118 RTC_LDO : LDO : ips-supply : always on
144 LDO_IO0 : LDO : ips-supply : GPIO 0
145 LDO_IO1 : LDO : ips-supply : GPIO 1
146 RTC_LDO : LDO : ips-supply : always on
192 LDO_IO0 : LDO : ips-supply : GPIO 0
193 LDO_IO1 : LDO : ips-supply : GPIO 1
194 RTC_LDO : LDO : ips-supply : always on
221 LDO_IO0 : LDO : ips-supply : GPIO 0
[all …]
/freebsd-13-stable/contrib/ntp/ntpd/
HDntp_request.c716 struct info_peer_summary * ips; in list_peers_sum() local
722 ips = (struct info_peer_summary *)prepare_pkt(srcadr, inter, inpkt, in list_peers_sum()
724 for (pp = peer_list; pp != NULL && ips != NULL; pp = pp->p_link) { in list_peers_sum()
733 ips->srcadr6 = SOCK_ADDR6(&pp->srcadr); in list_peers_sum()
734 ips->v6_flag = 1; in list_peers_sum()
736 ips->dstadr6 = SOCK_ADDR6(&pp->dstadr->sin); in list_peers_sum()
738 ZERO(ips->dstadr6); in list_peers_sum()
740 ips->srcadr = NSRCADR(&pp->srcadr); in list_peers_sum()
742 ips->v6_flag = 0; in list_peers_sum()
746 ips->dstadr = NSRCADR(&pp->dstadr->sin); in list_peers_sum()
[all …]
/freebsd-13-stable/sys/contrib/device-tree/src/powerpc/
HDmpc5121.dtsi96 bus-frequency = <66000000>; /* 66 MHz ips bus */
164 clock-names = "ipg", "ips", "sys", "ref", "mclk";
176 clock-names = "ipg", "ips", "sys", "ref", "mclk";
250 clock-names = "ipg", "ips", "sys", "ref", "mclk";
262 clock-names = "ipg", "ips", "sys", "ref", "mclk";
HDmpc5125twr.dts72 bus-frequency = <66000000>; // 66 MHz ips bus
134 clock-names = "ipg", "ips", "sys", "ref", "mclk";
146 clock-names = "ipg", "ips", "sys", "ref", "mclk";
/freebsd-13-stable/tools/kerneldoc/subsys/
HDDoxyfile-dev_ips12 INPUT = $(DOXYGEN_SRC_PATH)/dev/ips/ \
/freebsd-13-stable/sys/dev/usb/
HDusb_device.c817 struct usb_idesc_parse_state ips; in usb_config_parse() local
893 memset(&ips, 0, sizeof(ips)); in usb_config_parse()
898 while ((id = usb_idesc_foreach(udev->cdesc, &ips))) { in usb_config_parse()
899 iface = udev->ifaces + ips.iface_index; in usb_config_parse()
905 (iface_index != ips.iface_index)) { in usb_config_parse()
908 } else if (alt_index != ips.iface_index_alt) { in usb_config_parse()
917 iface->num_altsetting = ips.iface_index_alt + 1; in usb_config_parse()
922 if (ips.iface_index_alt == 0) { in usb_config_parse()
964 ips.iface_index, ed, ecomp, ep); in usb_config_parse()
978 udev->ifaces_max = ips.iface_index; in usb_config_parse()
/freebsd-13-stable/contrib/ntp/sntp/libevent/
HDevdns.c3735 evdns_nameserver_ip_add_line(struct evdns_base *base, const char *ips) { in evdns_nameserver_ip_add_line() argument
3740 while (*ips) { in evdns_nameserver_ip_add_line()
3741 while (isspace(*ips) || *ips == ',' || *ips == '\t') in evdns_nameserver_ip_add_line()
3742 ++ips; in evdns_nameserver_ip_add_line()
3743 addr = ips; in evdns_nameserver_ip_add_line()
3744 while (isdigit(*ips) || *ips == '.' || *ips == ':' || in evdns_nameserver_ip_add_line()
3745 *ips=='[' || *ips==']') in evdns_nameserver_ip_add_line()
3746 ++ips; in evdns_nameserver_ip_add_line()
3747 buf = mm_malloc(ips-addr+1); in evdns_nameserver_ip_add_line()
3749 memcpy(buf, addr, ips-addr); in evdns_nameserver_ip_add_line()
[all …]
/freebsd-13-stable/contrib/libevent/
HDevdns.c3735 evdns_nameserver_ip_add_line(struct evdns_base *base, const char *ips) { in evdns_nameserver_ip_add_line() argument
3740 while (*ips) { in evdns_nameserver_ip_add_line()
3741 while (isspace(*ips) || *ips == ',' || *ips == '\t') in evdns_nameserver_ip_add_line()
3742 ++ips; in evdns_nameserver_ip_add_line()
3743 addr = ips; in evdns_nameserver_ip_add_line()
3744 while (isdigit(*ips) || *ips == '.' || *ips == ':' || in evdns_nameserver_ip_add_line()
3745 *ips=='[' || *ips==']') in evdns_nameserver_ip_add_line()
3746 ++ips; in evdns_nameserver_ip_add_line()
3747 buf = mm_malloc(ips-addr+1); in evdns_nameserver_ip_add_line()
3749 memcpy(buf, addr, ips-addr); in evdns_nameserver_ip_add_line()
[all …]
/freebsd-13-stable/sbin/nvmecontrol/
HDpower.c79 if (nps->ips == 1) in power_list_one()

12