/freebsd-current/sys/modules/ips/ |
H A D | Makefile | 2 .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-current/tools/tools/crypto/ |
H A D | ipsecstats.c | 89 struct ipsecstat ips; local 95 slen = sizeof (ips); 96 if (sysctlbyname("net.inet.ipsec.ipsecstats", &ips, &slen, NULL, 0) < 0) 163 if (ips.ips_in_polvio+ips.ips_out_polvio) 165 (uintmax_t)ips.ips_in_polvio, 166 (uintmax_t)ips.ips_out_polvio); 167 STAT(ips.ips_out_nosa, "no SA found %ju (output)"); 168 STAT(ips.ips_out_nomem, "no memory available %ju (output)"); 169 STAT(ips [all...] |
/freebsd-current/sys/netpfil/ipfilter/netinet/ |
H A D | ip_sync.c | 345 /* ips(IO) - pointer to data to be converted. */ 351 ipf_sync_storder(int way, ipstate_t *ips) argument 353 ipf_sync_tcporder(way, &ips->is_tcp.ts_data[0]); 354 ipf_sync_tcporder(way, &ips->is_tcp.ts_data[1]); 357 ips->is_hv = htonl(ips->is_hv); 358 ips->is_die = htonl(ips->is_die); 359 ips->is_pass = htonl(ips 1103 ipstate_t *ips; local [all...] |
H A D | ip_htable.c | 1110 u_32_t msk, ips; local 1118 ips = addr->s_addr & msk; 1119 hv = IPE_V4_HASH_FN(ips, msk, iph->iph_size); 1123 (ipe->ipe_addr.in4_addr != ips)) { 1308 i6addr_t *msk, ips; local 1316 ips.i6[0] = addr->i6[0] & msk->i6[0]; 1317 ips.i6[1] = addr->i6[1] & msk->i6[1]; 1318 ips.i6[2] = addr->i6[2] & msk->i6[2]; 1319 ips.i6[3] = addr->i6[3] & msk->i6[3]; 1320 hv = IPE_V6_HASH_FN(ips [all...] |
H A D | ip_state.c | 822 ipstate_save_t ips; local 825 error = ipf_inobj(softc, data, NULL, &ips, IPFOBJ_STATESAVE); 830 isn = ips.ips_next; 834 if (ips.ips_next == NULL) { 856 ips.ips_next = isn->is_next; 857 bcopy((char *)isn, (char *)&ips.ips_is, sizeof(ips.ips_is)); 858 ips.ips_rule = isn->is_rule; 860 bcopy((char *)isn->is_rule, (char *)&ips.ips_fr, 861 sizeof(ips 885 ipstate_save_t ips; local 1331 ipstate_t *is, ips; local 5256 ipstate_t *ips; local [all...] |
/freebsd-current/sbin/ipf/ipfs/ |
H A D | ipfs.c | 89 ipstate_save_t ips; local 99 if (nlen >= sizeof(ips.ips_is.is_ifname) || 100 olen >= sizeof(ips.ips_is.is_ifname)) 109 for (pos = 0; read(fd, &ips, sizeof(ips)) == sizeof(ips); ) { 111 if (!strncmp(ips.ips_is.is_ifname[0], ifs, olen + 1)) { 112 strcpy(ips.ips_is.is_ifname[0], s); 115 if (!strncmp(ips.ips_is.is_ifname[1], ifs, olen + 1)) { 116 strcpy(ips 371 ipstate_save_t ips, *ipsp; local 421 ipstate_save_t ips, *is, *ipshead = NULL, *is1, *ipstail = NULL; local [all...] |
/freebsd-current/tests/atf_python/sys/net/ |
H A D | tools.py | 84 ips = [] 88 ret[ifname] = ips 89 ips = [] 97 ips.append((ip, scopeid)) 99 ret[ifname] = ips
|
/freebsd-current/sys/contrib/dpdk_rte_lpm/ |
H A D | rte_lpm.h | 310 * @param ips 319 * Number of elements in ips (and next_hops) array to lookup. This should be a 324 #define rte_lpm_lookup_bulk(lpm, ips, next_hops, n) \ 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, argument 336 RTE_LPM_RETURN_IF_TRUE(((lpm == NULL) || (ips == NULL) || 340 tbl24_indexes[i] = ips[i] >> 8; 352 unsigned tbl8_index = (uint8_t)ips[i] +
|
H A D | rte_lpm6.h | 147 * @param ips 158 uint8_t ips[][RTE_LPM6_IPV6_ADDR_SIZE], uint8_t *depths, unsigned n); 189 * @param ips 196 * Number of elements in ips (and next_hops) array to lookup. 202 uint8_t ips[][RTE_LPM6_IPV6_ADDR_SIZE],
|
H A D | rte_lpm6.c | 987 uint8_t ips[][RTE_LPM6_IPV6_ADDR_SIZE], 998 if ((lpm == NULL) || (ips == NULL) || (next_hops == NULL)) 1003 tbl24_index = (ips[i][0] << BYTES2_SIZE) | 1004 (ips[i][1] << BYTE_SIZE) | ips[i][2]; 1013 status = lookup_step(lpm, tbl, &tbl_next, ips[i], 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]); 986 rte_lpm6_lookup_bulk_func(const struct rte_lpm6 *lpm, uint8_t ips[][RTE_LPM6_IPV6_ADDR_SIZE], int32_t *next_hops, unsigned int n) argument
|
/freebsd-current/usr.bin/pr/ |
H A D | pr.c | 169 int ips; local 235 ips = 0; 259 if (otln(obuf,cnt+off, &ips, &ops, mor)) 261 } else if (otln(lbuf, cnt, &ips, &ops, mor)) 278 ips = 0; 339 int ips = 0; local 534 ips = 0; 537 otln(buf,offst,&ips,&ops,1)) 561 if (otln(vc[tvc].pt, cnt, &ips, 571 if (otln(buf, 0, &ips, 659 int ips = 0; local 811 int ips = 0; local 1121 int ips; /* last col in buf examined */ local 1442 int ips = 0; local [all...] |
/freebsd-current/sbin/ipf/ipfstat/ |
H A D | ipfstat.c | 1084 ipstate_t ips; local 1086 is = fetchstate(is, &ips); 1091 is = ips.is_next; 1093 (state_matcharray(&ips, filter) == 0)) { 1098 printstatefield(&ips, state_fields[i].w_value); 1104 printstate(&ips, opts, ipsp->iss_ticks); 1285 ipstate_t ips; local 1336 for (; ipsstp->iss_list; ipsstp->iss_list = ips.is_next) { 1338 ipsstp->iss_list = fetchstate(ipsstp->iss_list, &ips); 1342 if (ver != 0 && ips [all...] |
/freebsd-current/sys/dev/ips/ |
H A D | ips_ioctl.c | 31 #include <dev/ips/ipsreg.h> 32 #include <dev/ips/ips.h> 33 #include <dev/ips/ips_ioctl.h> 125 msleep(ioctl_cmd, &sc->queue_mtx, 0, "ips", hz/10);
|
H A D | ips_pci.c | 32 #include <dev/ips/ipsreg.h> 33 #include <dev/ips/ips.h> 215 "ips", 220 DRIVER_MODULE(ips, pci, ips_pci_driver, 0, 0);
|
H A D | ips_disk.c | 31 #include <dev/ips/ipsreg.h> 32 #include <dev/ips/ips.h> 33 #include <dev/ips/ips_disk.h> 62 DRIVER_MODULE(ipsd, ips, ipsd_driver, 0, 0);
|
H A D | ips_commands.c | 31 #include <dev/ips/ipsreg.h> 32 #include <dev/ips/ips.h> 66 printf("ips: io error, status= 0x%x\n", command->status.value); 84 printf("ips: error = %d in ips_sg_request_callback\n", error); 131 PRINTF(10, "ips test: command id: %d segments: %d " 144 PRINTF(10, "ips test: : bcount %ld\n", iobuf->bio_bcount); 180 printf("ips: error = %d in ips_get_adapter_info\n", error); 224 printf("ips: can't alloc dma tag for adapter status\n"); 281 printf("ips [all...] |
H A D | ips.c | 36 #include <dev/ips/ipsreg.h> 37 #include <dev/ips/ips.h> 50 .d_name = "ips", 107 PRINTF(10, "ips: in ips_cmd_dmaload\n"); 143 /* places all ips command structs on the free command queue. No locking as if someone else tries 225 panic("ips: command returned non-zero semaphore"); 423 S_IRUSR | S_IWUSR, "ips%d", device_get_unit(sc->dev)); 722 PRINTF(9, "ips: got command %d\n", cmdnumber); 753 printf("ips [all...] |
/freebsd-current/tests/sys/net/ |
H A D | if_wg.sh | 75 endpoint ${endpoint2}:12345 allowed-ips ${tunnel2}/32 81 endpoint ${endpoint1}:12345 allowed-ips ${tunnel1}/32 142 endpoint ${endpoint2}:12345 allowed-ips ${tunnel2}/32,${tunnel4}/32 148 endpoint ${endpoint1}:12345 allowed-ips ${tunnel1}/32,${tunnel3}/32 216 allowed-ips "${tunnel1}/32" 261 allowed-ips "${tunnel1}/32" 318 endpoint 127.0.0.1:12346 allowed-ips ${tunnel2}/32 324 endpoint 127.0.0.1:12345 allowed-ips ${tunnel1}/32
|
/freebsd-current/tests/sys/netinet/ |
H A D | output.sh | 283 # DST ips/ports to test 284 ips="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 233 235 236 237 245 251" 290 for i in ${ips}; do 308 num_ips=`echo ${ips} | wc -w` 334 for _ip in ${ips}; do 412 # DST ips/ports to test 413 ips="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 233 235 236 237 245 251" 419 for i in ${ips}; do 437 num_ips=`echo ${ips} | wc -w` 463 for _ip in ${ips}; d [all...] |
/freebsd-current/tests/sys/netinet6/ |
H A D | output6.sh | 310 # DST ips/ports to test 311 ips="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:d7 0c:ac:45:7a 44:9c:ce:71" 317 for i in ${ips}; do 346 num_ips=`echo ${ips} | wc -w` 372 for _ip in ${ips}; do 451 # DST ips/ports to test 452 ips="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:d7 0c:ac:45:7a 44:9c:ce:71" 458 for i in ${ips}; do 488 num_ips=`echo ${ips} | wc -w` 514 for _ip in ${ips}; d [all...] |
/freebsd-current/sys/netgraph/ |
H A D | ng_cisco.c | 280 struct in_addr *ips; local 283 2 * sizeof(*ips), M_NOWAIT); 288 ips = (struct in_addr *) resp->data; 289 ips[0] = sc->localip; 290 ips[1] = sc->localmask; 296 struct in_addr *const ips = (struct in_addr *)msg->data; local 298 if (msg->header.arglen < 2 * sizeof(*ips)) { 302 sc->localip = ips[0]; 303 sc->localmask = ips[1];
|
/freebsd-current/contrib/ntp/ntpd/ |
H A D | ntp_request.c | 716 struct info_peer_summary * ips; local 722 ips = (struct info_peer_summary *)prepare_pkt(srcadr, inter, inpkt, 724 for (pp = peer_list; pp != NULL && ips != NULL; pp = pp->p_link) { 733 ips->srcadr6 = SOCK_ADDR6(&pp->srcadr); 734 ips->v6_flag = 1; 736 ips->dstadr6 = SOCK_ADDR6(&pp->dstadr->sin); 738 ZERO(ips->dstadr6); 740 ips->srcadr = NSRCADR(&pp->srcadr); 742 ips->v6_flag = 0; 746 ips [all...] |
/freebsd-current/sys/kern/ |
H A D | kern_jail.c | 578 uint32_t ips; member in struct:prison_ip 599 MPASS(idx >= 0 && idx < pip->ips); 612 pip->ips = cnt; 671 pip = prison_ip_alloc(af, ppip->ips, M_WAITOK); 672 bcopy(ppip->pr_ip, pip->pr_ip, pip->ips * pr_families[af].size); 693 for (i = 0; i < ppip->ips; i++) 697 if (i == ppip->ips) 701 if (pip->ips > 1) { 702 for (i = j = 1; i < pip->ips; i++) { 706 for (; j < ppip->ips; 808 uint32_t ips; local [all...] |
/freebsd-current/sys/dev/usb/ |
H A D | usb_device.c | 817 struct usb_idesc_parse_state ips; local 892 memset(&ips, 0, sizeof(ips)); 897 while ((id = usb_idesc_foreach(udev->cdesc, &ips))) { 898 iface = udev->ifaces + ips.iface_index; 904 (iface_index != ips.iface_index)) { 907 } else if (alt_index != ips.iface_index_alt) { 916 iface->num_altsetting = ips.iface_index_alt + 1; 921 if (ips.iface_index_alt == 0) { 963 ips [all...] |
/freebsd-current/contrib/ntp/sntp/libevent/ |
H A D | evdns.c | 3735 evdns_nameserver_ip_add_line(struct evdns_base *base, const char *ips) { argument 3740 while (*ips) { 3741 while (isspace(*ips) || *ips == ',' || *ips == '\t') 3742 ++ips; 3743 addr = ips; 3744 while (isdigit(*ips) || *ips == '.' || *ips [all...] |