Searched refs:ip (Results 526 - 550 of 1028) sorted by relevance

<<21222324252627282930>>

/freebsd-11-stable/sys/dev/mxge/
H A Dif_mxge_var.h321 struct ip *ip; member in struct:mxge_pkt_info
/freebsd-11-stable/sys/fs/cd9660/
H A Dcd9660_node.c68 struct iso_node *ip = VTOI(vp); local
75 if (ip->inode.iso_mode == 0)
/freebsd-11-stable/contrib/netbsd-tests/net/icmp/
H A Dt_icmp_redirect.sh171 net.inet.ip.redirect=1
177 net.inet.ip.redirect=0
213 # Disable net.inet.ip.redirect
230 # Enable net.inet.ip.redirect
257 # Disable net.inet.ip.redirect
/freebsd-11-stable/contrib/netbsd-tests/net/ndp/
H A Dt_dad.sh60 local ip=$2
65 atf_check -s exit:0 rump.ifconfig shmif0 inet6 $ip
/freebsd-11-stable/contrib/netbsd-tests/net/mpls/
H A Dt_mpls_fw64.sh31 # Disable net.inet[6].ip[6].forwarding, enable net.mpls.forwarding
107 atf_check -s exit:0 rump.sysctl -q -w net.inet.ip.forwarding=0
124 atf_check -s exit:0 rump.sysctl -q -w net.inet.ip.forwarding=0
/freebsd-11-stable/contrib/netbsd-tests/net/
H A Dnet_common.sh111 local ip=$2
118 /usr/libexec/httpd -P $HTTPD_PID -i $ip -b -s $(pwd)
/freebsd-11-stable/sys/net/
H A Dif_gre.c73 #include <netinet/ip.h>
514 sc->gre_oip.ip_hl = sizeof(struct ip) >> 2;
570 struct ip *ip; local
607 hdr = ip = malloc(sizeof(struct greip) +
609 ip->ip_src = satosin(src)->sin_addr;
610 ip->ip_dst = satosin(dst)->sin_addr;
910 olen = sizeof(struct ip);
/freebsd-11-stable/sys/x86/iommu/
H A Dintel_gas.c572 struct dmar_map_entry *ip, *in; local
573 ip = RB_PREV(dmar_gas_entries_tree, &domain->rb_root, entry);
575 KASSERT(prev == NULL || ip == prev,
579 ip, ip == NULL ? 0 : ip->start, ip == NULL ? 0 : ip->end));
/freebsd-11-stable/sys/dev/mlx4/mlx4_en/
H A Dmlx4_en_tx.c47 #include <netinet/ip.h>
503 struct ip *ip; local
523 ip = (struct ip *)(mb->m_data + eth_hdr_len);
524 if (mb->m_len < eth_hdr_len + sizeof(*ip))
526 if (ip->ip_p != IPPROTO_TCP)
528 ip_hlen = ip->ip_hl << 2;
/freebsd-11-stable/release/tools/
H A Dgce.conf86 net.inet.ip.redirect=0
/freebsd-11-stable/contrib/tcsh/
H A Dsh.glob.c698 Char c, *ip; local
707 for (ip = cp; (*ip & QUOTE) != 0; ip++)
709 quoted = *ip == '\0';
817 ip = NULL;
823 ip = ibuf;
831 c = (*ip++ & TRIM);
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/xray/
H A Dxray_trampoline_arm.S13 @ It preserves all registers except r0, r12(ip), r14(lr) and r15(pc)
74 @ It preserves all registers except r0, r12(ip), r14(lr) and r15(pc)
/freebsd-11-stable/sys/dev/ena/
H A Dena_datapath.c682 struct ip *ip; local
721 ip = (struct ip *)(mtodo(mbuf_next, offset));
722 iphlen = ip->ip_hl << 2;
738 if ((ip->ip_off & htons(IP_DF)) != 0)
748 if (ip->ip_p == IPPROTO_TCP) {
755 } else if (ip->ip_p == IPPROTO_UDP) {
/freebsd-11-stable/usr.sbin/sicontrol/
H A Dsicontrol.c492 const char *s_ip(int ip) argument
496 sprintf(msg, "rts:%s", (ip & IP_RTS) ? "on" : "off");
497 sprintf(msg + strlen(msg), ", dcd:%s", (ip & IP_DCD) ? "on" : "off");
498 sprintf(msg + strlen(msg), ", dtr:%s", (ip & IP_DTR) ? "on" : "off");
499 sprintf(msg + strlen(msg), ", ri:%s", (ip & IP_RI) ? "on" : "off");
/freebsd-11-stable/sys/netinet/libalias/
H A Dalias_proxy.c146 static void ProxyEncodeTcpStream(struct alias_link *, struct ip *, int);
147 static void ProxyEncodeIpHeader(struct ip *, int);
291 struct ip *pip,
383 ProxyEncodeIpHeader(struct ip *pip,
392 fprintf(stdout, " ip cksum 1 = %x\n", (u_int) IpChecksum(pip));
448 fprintf(stdout, " ip cksum 2 = %x\n", (u_int) IpChecksum(pip));
502 struct ip *pip,
/freebsd-11-stable/sys/netinet/
H A Dtcp_hostcache.c90 #include <netinet/ip.h>
173 #define HOSTCACHE_HASH(ip) \
174 (((ip)->s_addr ^ ((ip)->s_addr >> 7) ^ ((ip)->s_addr >> 17)) & \
293 * Hash the foreign ip address.
352 * Hash the foreign ip address.
/freebsd-11-stable/contrib/wpa/hostapd/
H A Dctrl_iface.c15 #include <netinet/ip.h>
1830 struct iphdr ip; local
1835 if (len < sizeof(*eth) + sizeof(ip) || len > HWSIM_PACKETLEN) {
1843 os_memcpy(&ip, eth + 1, sizeof(ip));
1844 pos = &buf[sizeof(*eth) + sizeof(ip)];
1846 if (ip.ihl != 5 || ip.version != 4 ||
1847 ntohs(ip.tot_len) > HWSIM_IP_LEN) {
1853 for (i = 0; i < ntohs(ip
1917 struct iphdr *ip; local
[all...]
/freebsd-11-stable/contrib/bsnmp/snmp_ntp/
H A Dsnmp_ntp.c725 val_parse_ip(const char *val, u_char ip[4]) argument
732 &ip[0], &ip[1], &ip[2], &ip[3], &n);
736 memset(ip, 0, 4);
753 ip[3] = sin_local->sin_addr.s_addr >> 24;
754 ip[2] = sin_local->sin_addr.s_addr >> 16;
755 ip[1] = sin_local->sin_addr.s_addr >> 8;
756 ip[
[all...]
/freebsd-11-stable/sys/net/altq/
H A Daltq_cdnr.c49 #include <netinet/ip.h>
135 struct ip *ip; local
148 ip = mtod(m, struct ip *);
153 flowlabel = ((struct ip6_hdr *)ip)->ip6_flow;
157 pktinfo.pkt_dscp = ip->ip_tos & DSCP_MASK;
183 struct ip6_hdr *ip6 = (struct ip6_hdr *)ip;
192 ip->ip_tos = tca->tca_dscp |
193 (ip
[all...]
/freebsd-11-stable/sys/dev/si/
H A Dsi.c673 int *ip, error = 0; local
688 ip = (int *)data;
694 *ip = si_Nports;
697 *ip = si_Nmodules;
701 si_debug = *ip;
704 *ip = si_debug;
1118 BYTE op, ip; local
1274 ip = ccbp->hi_rxipos;
1275 c = ip - op;
1283 DPRINT((pp, DBG_INTR, "n = %d, op = %d, ip
[all...]
/freebsd-11-stable/contrib/unbound/util/
H A Dnet_help.c250 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...]
/freebsd-11-stable/sys/netpfil/pf/
H A Dpf.c79 #include <netinet/ip.h>
2196 pf_change_icmp(struct pf_addr *ia, u_int16_t *ip, struct pf_addr *oa, argument
2207 if (ip != NULL) {
2208 u_int16_t oip = *ip;
2213 *ip = np;
2215 *pc = pf_cksum_fixup(*pc, oip, *ip, u);
2216 *ic = pf_cksum_fixup(*ic, oip, *ip, 0);
2220 /* Change inner ip address, fix inner ip and icmp checksums. */
2253 /* Outer ip addres
5485 struct ip *ip; local
5818 struct ip *ip; local
[all...]
/freebsd-11-stable/sys/dev/iscsi/
H A Discsi.c1616 struct icl_pdu *ip; local
1650 ip = icl_pdu_new(is->is_conn, M_WAITOK);
1651 memcpy(ip->ip_bhs, ids->ids_bhs, sizeof(*ip->ip_bhs));
1653 error = icl_pdu_append_data(ip, data, datalen, M_WAITOK);
1657 iscsi_pdu_queue(ip);
1667 struct icl_pdu *ip; local
1699 ip = is->is_login_pdu;
1703 if (ip->ip_data_len > idr->idr_data_segment_len) {
1704 icl_pdu_free(ip);
[all...]
/freebsd-11-stable/usr.sbin/syslogd/
H A Dsyslogd.c2204 static char hname[NI_MAXHOST], ip[NI_MAXHOST]; local
2207 error = getnameinfo(f, f->sa_len, ip, sizeof(ip), NULL, 0,
2213 dprintf("cvthname(%s)\n", ip);
2216 return (ip);
2221 dprintf("Host name for your address (%s) unknown\n", ip);
2222 return (ip);
3287 char ip[NI_MAXHOST]; local
3424 ip, sizeof ip, NUL local
3428 ip, sizeof ip, NULL, 0, NI_NUMERICHOST); local
3452 char name[NI_MAXHOST], ip[NI_MAXHOST], port[NI_MAXSERV]; local
[all...]
/freebsd-11-stable/sys/cam/ctl/
H A Dctl_frontend_iscsi.c1954 struct icl_pdu *ip; local
2006 ip = icl_pdu_new(cs->cs_conn, M_WAITOK);
2007 memcpy(ip->ip_bhs, cisp->bhs, sizeof(*ip->ip_bhs));
2009 icl_pdu_append_data(ip, data, datalen, M_WAITOK);
2013 icl_pdu_queue(ip);
2023 struct icl_pdu *ip; local
2067 ip = cs->cs_login_pdu;
2071 if (ip->ip_data_len > cirp->data_segment_len) {
2072 icl_pdu_free(ip);
[all...]

Completed in 375 milliseconds

<<21222324252627282930>>