/freebsd-11-stable/contrib/libarchive/libarchive/ |
H A D | archive_read_support_format_7zip.c | 3634 uint32_t ip, prevMask; local 3642 ip = zip->bcj_ip; 3682 dest = src - (ip + (uint32_t)bufferPos);
|
/freebsd-11-stable/stand/i386/libi386/ |
H A D | pxe.c | 43 #include <netinet/ip.h>
|
/freebsd-11-stable/sbin/dhclient/ |
H A D | dhclient.c | 581 struct interface_info *ip = ipp; local 584 if (!ip->client->active || ip->client->active->is_bootp) { 585 state_init(ip); 590 ip->client->state = S_REBOOTING; 595 ip->client->xid = arc4random(); 599 make_request(ip, ip->client->active); 600 ip->client->destination = iaddr_broadcast; 601 ip 618 struct interface_info *ip = ipp; local 643 struct interface_info *ip = ipp; local 732 struct interface_info *ip = packet->interface; local 822 bind_lease(struct interface_info *ip) argument 891 struct interface_info *ip = ipp; local 982 struct interface_info *ip = packet->interface; local 1186 struct interface_info *ip = packet->interface; local 1226 struct interface_info *ip = ipp; local 1326 struct interface_info *ip = ipp; local 1419 struct interface_info *ip = ipp; local 1546 struct interface_info *ip = ipp; local 1557 make_discover(struct interface_info *ip, struct client_lease *lease) argument 1670 make_request(struct interface_info *ip, struct client_lease * lease) argument 1803 make_decline(struct interface_info *ip, struct client_lease *lease) argument 1930 write_client_lease(struct interface_info *ip, struct client_lease *lease, int rewrite) argument 2033 struct interface_info *ip = ifi; local 2061 struct interface_info *ip = ifi; local 2289 struct interface_info *ip = ifi; local [all...] |
/freebsd-11-stable/libexec/ftpd/ |
H A D | ftpd.c | 60 #include <netinet/ip.h>
|
/freebsd-11-stable/sys/contrib/ipfilter/netinet/ |
H A D | ip_state.c | 65 #include <netinet/ip.h> 2723 DT2(iss_icmp_len, fr_info_t *, fin, struct ip*, oip); 2773 * watch out here, as ip is in host order and oip in network 4504 * watch out here, as ip is in host order and oip6 in network
|
H A D | ip_frag.c | 59 #include <netinet/ip.h>
|
/freebsd-11-stable/usr.sbin/jail/ |
H A D | config.c | 423 int_param(const struct cfparam *p, int *ip) argument 427 *ip = strtol(TAILQ_LAST(&p->val, cfstrings)->s, NULL, 10);
|
/freebsd-11-stable/tests/sys/netgraph/ |
H A D | bridge.c | 40 #include <netinet/ip.h> 56 struct ip ip; member in struct:frame4 62 struct ip6_hdr ip; member in struct:frame6 67 .ip.ip_v = 4, 68 .ip.ip_hl = 5, 69 .ip.ip_ttl = 1, 70 .ip.ip_p = 254, 71 .ip.ip_src = {htonl(0x0a00dead)}, 72 .ip [all...] |
/freebsd-11-stable/sys/netinet/ |
H A D | ip_input.c | 72 #include <netinet/ip.h> 89 CTASSERT(sizeof(struct ip) == 20); 138 .nh_name = "ip", 411 VNET_SYSUNINIT(ip, SI_SUB_PROTO_DOMAIN, SI_ORDER_THIRD, ip_destroy, NULL); 424 struct ip *ip; local 427 ip = mtod(m, struct ip *); 428 hlen = ip->ip_hl << 2; 432 if (IPSEC_INPUT(ipv4, m, hlen, ip 450 struct ip *ip = NULL; local 952 struct ip *ip = mtod(m, struct ip *); local 1153 ip_savecontrol(struct inpcb *inp, struct mbuf **mp, struct ip *ip, struct mbuf *m) argument [all...] |
/freebsd-11-stable/sys/netgraph/ |
H A D | ng_parse.c | 978 struct in_addr ip; local 981 bcopy(data + *off, &ip, sizeof(ip)); 983 ((u_char *)&ip)[0], ((u_char *)&ip)[1], 984 ((u_char *)&ip)[2], ((u_char *)&ip)[3])) != 0) 986 *off += sizeof(ip); 994 struct in_addr ip = { 0 }; local 996 if (*buflen < sizeof(ip)) [all...] |
H A D | ng_checksum.c | 48 #include <netinet/ip.h> 310 struct ip *ip4; 317 PULLUP_CHECK(m, sizeof(struct ip)); 318 ip4 = (struct ip *) mtodo(m, l3_offset); 326 if (hlen < sizeof(struct ip) || m->m_pkthdr.len < l3_offset + plen) 333 if (hlen == sizeof(struct ip))
|
/freebsd-11-stable/contrib/sqlite3/ |
H A D | sqlite3.c | 214172 int ip; int ic; int io; local 214443 int ip = 0; local 214552 int ip, ic, io; local 214772 int ip; int ic; int io; local [all...] |
/freebsd-11-stable/contrib/unbound/util/ |
H A D | net_help.c | 250 ipstrtoaddr(const char* ip, int port, struct sockaddr_storage* addr, argument 254 if(!ip) return 0; 256 if(str_is_ip6(ip)) { 264 if((s=strchr(ip, '%'))) { /* ip6%interface, rfc 4007 */ 265 if(s-ip >= MAX_ADDR_STRLEN) 267 (void)strlcpy(buf, ip, sizeof(buf)); 268 buf[s-ip]=0; 270 ip = buf; 272 if(inet_pton((int)sa->sin6_family, ip, &sa->sin6_addr) <= 0) { 281 if(inet_pton((int)sa->sin_family, ip, [all...] |
H A D | config_file.c | 559 else S_YNO("ip-transparent:", ip_transparent) 560 else S_YNO("ip-freebind:", ip_freebind) 561 else S_NUMBER_OR_ZERO("ip-dscp:", ip_dscp) 688 else S_STR("dnstap-ip:", dnstap_ip) 728 else if(strcmp(opt, "ip-ratelimit:") == 0) { 736 else S_MEMSIZE("ip-ratelimit-size:", ip_ratelimit_size) 738 else S_POW2("ip-ratelimit-slabs:", ip_ratelimit_slabs) 740 else S_NUMBER_OR_ZERO("ip-ratelimit-factor:", ip_ratelimit_factor) 980 else O_YNO(opt, "ip-transparent", ip_transparent) 981 else O_YNO(opt, "ip 2341 char* ip, *ip_end; local [all...] |
/freebsd-11-stable/contrib/unbound/smallapp/ |
H A D | unbound-anchor.c | 477 verb_addr(const char* msg, struct ip_list* ip) argument 481 void* a = &((struct sockaddr_in*)&ip->addr)->sin_addr; 482 if(ip->len != (socklen_t)sizeof(struct sockaddr_in)) 483 a = &((struct sockaddr_in6*)&ip->addr)->sin6_addr; 485 if(inet_ntop((int)((struct sockaddr_in*)&ip->addr)->sin_family, 508 struct ip_list* ip = (struct ip_list*)calloc(1, sizeof(*ip)); local 511 struct sockaddr_in* sa = (struct sockaddr_in*)&ip->addr; 512 ip->len = (socklen_t)sizeof(*sa); 517 free(ip); 568 struct ip_list* ip = RR_to_ip(tp, res->data[i], res->len[i], local 586 struct ip_list* ip; local 733 connect_to_ip(struct ip_list* ip, struct ip_list* src) argument 1123 https_to_ip(struct ip_list* ip, const char* pathname, const char* urlname, struct ip_list* src, int use_sni) argument 1169 struct ip_list* ip; local [all...] |
/freebsd-11-stable/contrib/unbound/services/ |
H A D | rpz.c | 288 (uint8_t*)&"\015rpz-client-ip\000")) 290 else if(dname_subdomain_c(tldlab, (uint8_t*)&"\006rpz-ip\000")) 936 char ip[128], txt[512]; local 940 addr_to_str(&repinfo->addr, repinfo->addrlen, ip, sizeof(ip)); 943 log_name, dnamestr, rpz_action_to_string(a), ip, 947 dnamestr, rpz_action_to_string(a), ip, (unsigned)port);
|
H A D | localzone.c | 1669 char ip[128], txt[512]; local 1673 addr_to_str(&repinfo->addr, repinfo->addrlen, ip, sizeof(ip)); 1674 snprintf(txt, sizeof(txt), "%s %s %s@%u", zname, local_zone_type2str(z->type), ip,
|
/freebsd-11-stable/contrib/unbound/ipset/ |
H A D | ipset.c | 121 char ip[128]; local 122 if(inet_ntop(af, rr_data+2, ip, (socklen_t)sizeof(ip)) == 0) 123 snprintf(ip, sizeof(ip), "(inet_ntop_error)"); 124 verbose(VERB_QUERY, "ipset: add %s to %s for %s", ip, setname, dname);
|
/freebsd-11-stable/contrib/unbound/dnstap/ |
H A D | unbound-dnstap-socket.c | 155 char* ip; member in struct:tap_socket 188 free(s->ip); 214 static struct tap_socket* tap_socket_new_tcpaccept(char* ip, argument 222 s->ip = strdup(ip); 223 if(!s->ip) { 235 static struct tap_socket* tap_socket_new_tlsaccept(char* ip, argument 244 s->ip = strdup(ip); 245 if(!s->ip) { 264 make_tcp_accept(char* ip) argument 1093 char ip[256]; local [all...] |
/freebsd-11-stable/contrib/unbound/daemon/ |
H A D | worker.c | 595 * was redirected to response-ip data. */ 1196 /* check if this query should be dropped based on source ip rate limiting */ 1207 verbose(VERB_QUERY, "ip_ratelimit allowed through for ip address %s because of slip in ip_ratelimit_factor", 1232 char ip[128]; local 1233 addr_to_str(&repinfo->addr, repinfo->addrlen, ip, sizeof(ip)); 1234 log_query_in(ip, qinfo.qname, qinfo.qtype, qinfo.qclass);
|
H A D | remote.c | 265 * @param ip: ip str 273 add_open(const char* ip, int nr, struct listen_port** list, int noproto_is_err, argument 285 log_assert(ip); 287 if(ip[0] == '/') { 289 fd = create_local_accept_sock(ip, &noproto, cfg->use_systemd); 299 if(chown(ip, cfg_uid, cfg_gid) == -1) 302 ip, strerror(errno)); 304 chmod(ip, (mode_t)(S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP)); 312 if((r = getaddrinfo(ip, por 2813 char ip[128]; local [all...] |
/freebsd-11-stable/contrib/unbound/contrib/ |
H A D | build-unbound-localzone-from-hosts.pl | 26 my $ip; 31 $ip = $entry; 37 if ( ($ip ne '127.0.0.1' and $ip ne '::1') or $entry =~ 'localhost' ) { 38 if ( ! defined $ptrhash{$ip} ) { 39 $ptrhash{$ip} = $entry; 40 print ZONE "local-data-ptr: \"$ip $entry\"\n"; 48 if ( $ip =~ ':' ) { 52 print ZONE "local-data: \"$entry ${a} $ip\"\n";
|
/freebsd-11-stable/contrib/bsnmp/lib/ |
H A D | snmp.c | 246 parse_pdus(struct asn_buf *b, struct snmp_pdu *pdu, int32_t *ip) argument 271 *ip = pdu->nbindings + 1; 427 * decoded, ip points to the index of the failed variable (errors 431 snmp_pdu_decode(struct asn_buf *b, struct snmp_pdu *pdu, int32_t *ip) argument 445 code = snmp_pdu_decode_scoped(b, pdu, ip); 551 snmp_pdu_decode_scoped(struct asn_buf *b, struct snmp_pdu *pdu, int32_t *ip) argument 624 err = parse_pdus(b, pdu, ip);
|
/freebsd-11-stable/usr.sbin/arp/ |
H A D | arp.c | 447 xo_emit("{d:hostname/%s} ({d:ip-address/%s}) -- no entry", 626 xo_emit("{:hostname/%s} ({:ip-address/%s}) at ", host, 715 char ip[20]; local 720 snprintf(ip, sizeof(ip), "%s", inet_ntoa(addr->sin_addr)); 721 delete(ip);
|
/freebsd-11-stable/etc/rc.d/ |
H A D | ipfw | 64 elif [ "`ipfw list 65535`" = "65535 deny ip from any to any" ]; then 67 echo ' All ip services are disabled.' 74 ${SYSCTL} net.inet.ip.fw.verbose=1 >/dev/null 102 if ! ${SYSCTL} net.inet.ip.fw.enable=1 >/dev/null 2>&1; then 119 ${SYSCTL} net.inet.ip.fw.enable=0 >/dev/null 135 status=$(sysctl -n net.inet.ip.fw.enable)
|