Searched refs:ip (Results 451 - 475 of 1110) sorted by relevance

<<11121314151617181920>>

/freebsd-12-stable/usr.sbin/ppp/
H A Dtun.c42 #include <netinet/ip.h>
/freebsd-12-stable/contrib/processor-trace/libipt/src/
H A Dpt_packet.c138 uint64_t ip; local
147 ip = 0ull;
156 ip = pt_pkt_read_value(pos, ipsize);
159 packet->ip = ip;
472 packet->ip = pos[1] & pt_pl_exstop_ip_mask ? 1 : 0;
570 packet->ip = opc & pt_opm_ptw_ip ? 1 : 0;
/freebsd-12-stable/contrib/tcpdump/
H A Dprint-sctp.c47 #include "ip.h"
496 u_int sctpPacketLength) /* ip packet */
500 const struct ip *ip; local
521 ip = (const struct ip *)bp2;
522 if (IP_V(ip) == 6)
536 ipaddr_string(ndo, &ip->ip_src),
538 ipaddr_string(ndo, &ip->ip_dst),
H A Dprint-pgm.c29 #include "ip.h"
151 register const struct ip *ip; local
161 ip = (const struct ip *)bp2;
162 if (IP_V(ip) == 6)
174 ipaddr_string(ndo, &ip->ip_src),
175 ipaddr_string(ndo, &ip->ip_dst)));
195 if (ip->ip_p == IPPROTO_PGM) {
197 ipaddr_string(ndo, &ip
[all...]
/freebsd-12-stable/contrib/tnftp/src/
H A Dftp.c112 #include <netinet/ip.h>
1760 struct comvars *ip, *op; local
1767 ip = &tmpstruct;
1773 ip = &proxstruct;
1777 ip->connect = connected;
1780 (void)strlcpy(ip->name, hostname, sizeof(ip->name));
1782 ip->name[0] = '\0';
1784 ip->hctl = hisctladdr;
1786 ip
[all...]
/freebsd-12-stable/sys/netpfil/ipfw/nat64/
H A Dnat64lsn.c56 #include <netinet/ip.h>
420 struct ip *ip; local
424 ip = mtod(*mp, struct ip *); /* Outer IP header */
425 off = (ip->ip_hl << 2) + ICMP_MINLEN;
431 ip = mtod(*mp, struct ip *); /* Outer IP header */
432 icmp = L3HDR(ip, struct icmp *);
449 if ((*mp)->m_pkthdr.len < off + sizeof(struct ip)
559 struct ip *ip; local
[all...]
/freebsd-12-stable/tests/sys/netinet/libalias/
H A D2_natout.c45 struct ip *pip;
66 struct ip *pip;
99 struct ip *pip;
132 struct ip *po, *pi;
174 struct ip *p;
204 struct ip *po, *pi;
251 struct ip *p;
/freebsd-12-stable/sys/contrib/zstd/lib/compress/
H A Dzstd_compress_internal.h413 * can count match length with `ip` & `match` in 2 different segments.
417 ZSTD_count_2segments(const BYTE* ip, const BYTE* match, argument
420 const BYTE* const vEnd = MIN( ip + (mEnd - match), iEnd);
421 size_t const matchLength = ZSTD_count(ip, match, vEnd);
423 return matchLength + ZSTD_count(ip+matchLength, iStart, iEnd);
535 * 2. (ip+ZSTD_CHUNKSIZE_MAX - cctx->base) doesn't overflow:
539 * ip+ZSTD_CHUNKSIZE_MAX - cctx->base < 1<<32.
604 BYTE const* const ip = (BYTE const*)src; local
616 window->base = ip - distanceFromBase;
621 window->nextSrc = ip
[all...]
/freebsd-12-stable/sys/dev/uart/
H A Duart_dev_z8530.c431 uint8_t bes, ip, iv, src; local
439 ip = uart_getmreg(bas, RR_IP);
444 case IV_TEB: ip = IP_TIA; break;
445 case IV_XSB: ip = IP_SIA; break;
446 case IV_RAB: ip = IP_RIA; break;
447 default: ip = 0; break;
451 ip = 0;
455 if (ip & IP_RIA)
458 if (ip & IP_TIA) {
467 if (ip
[all...]
/freebsd-12-stable/contrib/netbsd-tests/include/
H A Dt_inttypes.c53 intptr_t ip = 0; local
87 PRINT(PRIdPTR, ip);
102 PRINT(PRIiPTR, ip);
178 SCAN(SCNdPTR, ip);
193 SCAN(SCNiPTR, ip);
/freebsd-12-stable/cddl/usr.sbin/dwatch/libexec/
H A DMakefile7 ip \
28 LINKS+= ${LIBEXECDIR}/dwatch/ip ${LIBEXECDIR}/dwatch/ip-receive
29 LINKS+= ${LIBEXECDIR}/dwatch/ip ${LIBEXECDIR}/dwatch/ip-send
/freebsd-12-stable/sys/dev/cxgbe/
H A Dt4_l2t.c322 char ip[INET6_ADDRSTRLEN]; local
347 ip[0] = 0;
350 &ip[0], sizeof(ip));
358 e->idx, ip, e->dmac[0], e->dmac[1], e->dmac[2],
/freebsd-12-stable/sys/fs/cd9660/
H A Dcd9660_lookup.c433 * directory "ip". If "res" is non-zero, fill it in with a pointer to the
443 struct iso_node *ip; local
449 ip = VTOI(vp);
450 imp = ip->i_mnt;
452 bsize = blksize(imp, ip, lbn);
471 bp->b_blkno = (ip->iso_start + bp->b_lblkno) << (bshift - DEV_BSHIFT);
/freebsd-12-stable/sys/netinet/
H A Dsctp_header.h565 sizeof(struct ip))
569 sizeof(struct ip))
572 #define SCTP_MIN_OVERHEAD (sizeof(struct ip) + \
580 sizeof(struct ip))
582 #define SCTP_MIN_V4_OVERHEAD (sizeof(struct ip) + \
H A Dip_carp.c70 #include <netinet/ip.h>
452 struct ip *ip = mtod(m, struct ip *); local
467 if (ip->ip_ttl != CARP_DFLTTL) {
470 ip->ip_ttl,
476 iplen = ip->ip_hl << 2;
481 "on %s\n", __func__, m->m_len - sizeof(struct ip),
493 ip = mtod(m, struct ip *);
931 struct ip *ip; local
[all...]
H A Dtcp_syncache.c74 #include <netinet/ip.h>
1706 struct ip *ip = NULL; local
1719 sizeof(struct ip);
1763 ip = mtod(m, struct ip *);
1764 ip->ip_v = IPVERSION;
1765 ip->ip_hl = sizeof(struct ip) >> 2;
1766 ip
[all...]
/freebsd-12-stable/sys/i386/i386/
H A Din_cksum.c44 #include <netinet/ip.h>
241 u_int in_cksum_hdr(const struct ip *ip) argument
243 u_int64_t sum = in_cksumdata((const u_int32_t *)ip, sizeof(struct ip));
/freebsd-12-stable/usr.bin/mail/
H A Dlist.c59 int *ip; local
68 ip = vector;
71 *ip++ = mp - &message[0] + 1;
72 *ip = 0;
73 return (ip - vector);
/freebsd-12-stable/sys/netpfil/pf/
H A Dpf_norm.c52 #include <netinet/ip.h>
66 uint16_t fe_hdrlen; /* ipv4 header length with ip options
155 static int pf_reassemble(struct mbuf **, struct ip *, int, u_short *);
172 pf_ip2key(struct ip *ip, int dir, struct pf_fragment_cmp *key) argument
175 key->frc_src.v4 = ip->ip_src;
176 key->frc_dst.v4 = ip->ip_dst;
178 key->frc_proto = ip->ip_p;
179 key->frc_id = ip->ip_id;
725 /* Strip off ip heade
742 pf_reassemble(struct mbuf **m0, struct ip *ip, int dir, u_short *reason) argument
[all...]
/freebsd-12-stable/tools/tools/netmap/
H A Dpkt-gen.c51 #include <netinet/ip.h>
208 struct ip ip; member in struct:pkt::__anon17207::__anon17208
213 struct ip6_hdr ip; member in struct:pkt::__anon17207::__anon17209
730 /* Compute the checksum of the given ip header. */
828 struct ip ip; local
834 memcpy(&ip, &pkt->ipv4.ip, sizeof(ip));
1014 struct ip ip; local
[all...]
/freebsd-12-stable/sys/contrib/ipfilter/netinet/
H A Dip_pptp_pxy.c120 ip_t *ip; local
125 ip = fin->fin_ip;
130 ip->ip_dst) != NULL) {
204 ip_t *ip; local
206 ip = fin->fin_ip;
207 p = ip->ip_p;
223 ip = fin->fin_ip;
224 ip->ip_p = IPPROTO_GRE;
271 ip->ip_p = p;
/freebsd-12-stable/crypto/openssl/crypto/x509v3/
H A Dv3_alt.c123 p = gen->d.ip->data;
124 if (gen->d.ip->length == 4)
127 else if (gen->d.ip->length == 16) {
193 p = gen->d.ip->data;
194 if (gen->d.ip->length == 4)
196 else if (gen->d.ip->length == 16) {
470 gen->d.ip = a2i_IPADDRESS_NC(value);
472 gen->d.ip = a2i_IPADDRESS(value);
473 if (gen->d.ip == NULL) {
H A Dv3_ncons.c29 static int print_nc_ipadd(BIO *bp, ASN1_OCTET_STRING *ip);
37 static int nc_ip(ASN1_OCTET_STRING *ip, ASN1_OCTET_STRING *base);
177 print_nc_ipadd(bp, tree->base->d.ip);
185 static int print_nc_ipadd(BIO *bp, ASN1_OCTET_STRING *ip)
189 p = ip->data;
190 len = ip->length;
646 static int nc_ip(ASN1_OCTET_STRING *ip, ASN1_OCTET_STRING *base)
650 hostptr = ip->data;
651 hostlen = ip->length;
/freebsd-12-stable/usr.sbin/bsnmpd/tools/libbsnmptools/
H A Dbsnmpimport.c158 struct input *ip; local
160 ip = xalloc(sizeof(*ip));
161 ip->fp = fp;
162 ip->lno = 1;
163 ip->fname = savestr(fname);
164 ip->path = savestr(path);
165 LIST_INSERT_HEAD(&inputs, ip, link);
167 input = ip;
/freebsd-12-stable/contrib/libpcap/
H A Dpcap-dlpi.c1611 register dl_hp_ppa_info_t *ipstart, *ip; local
1705 ip = ipstart;
1722 if ((strcmp((const char *)ip->dl_module_id_1, device) == 0 ||
1723 strcmp((const char *)ip->dl_module_id_2, device) == 0) &&
1724 ip->dl_instance_num == unit)
1727 ip = (dl_hp_ppa_info_t *)((u_char *)ipstart + ip->dl_next_offset);
1761 ip = ipstart;
1764 if (ip->dl_mjr_num == majdev &&
1765 ip
[all...]

Completed in 336 milliseconds

<<11121314151617181920>>