/freebsd-11-stable/sys/netinet/ |
H A D | tcp_sack.c | 104 #include <netinet/ip.h>
|
H A D | igmp.c | 81 #include <netinet/ip.h> 104 static int igmp_input_v1_query(struct ifnet *, const struct ip *, 106 static int igmp_input_v2_query(struct ifnet *, const struct ip *, 108 static int igmp_input_v3_query(struct ifnet *, const struct ip *, 112 static int igmp_input_v1_report(struct ifnet *, /*const*/ struct ip *, 114 static int igmp_input_v2_report(struct ifnet *, /*const*/ struct ip *, 704 igmp_input_v1_query(struct ifnet *ifp, const struct ip *ip, argument 718 if (!in_allhosts(ip->ip_dst) || !in_nullhost(igmp->igmp_group)) { 789 igmp_input_v2_query(struct ifnet *ifp, const struct ip *i argument 941 igmp_input_v3_query(struct ifnet *ifp, const struct ip *ip, struct igmpv3 *igmpv3) argument 1207 igmp_input_v1_report(struct ifnet *ifp, struct ip *ip, struct igmp *igmp) argument 1318 igmp_input_v2_report(struct ifnet *ifp, struct ip *ip, struct igmp *igmp) argument 1431 struct ip *ip; local 2198 struct ip *ip; local 3497 struct ip *ip; local [all...] |
H A D | ip_carp.c | 70 #include <netinet/ip.h> 453 struct ip *ip = mtod(m, struct ip *); local 468 if (ip->ip_ttl != CARP_DFLTTL) { 471 ip->ip_ttl, 477 iplen = ip->ip_hl << 2; 482 "on %s\n", __func__, m->m_len - sizeof(struct ip), 494 ip = mtod(m, struct ip *); 831 struct ip *ip; local [all...] |
/freebsd-11-stable/sys/ufs/ffs/ |
H A D | ffs_vfsops.c | 85 static void ffs_ifree(struct ufsmount *ump, struct inode *ip); 617 struct inode *ip; local 748 ip = VTOI(vp); 750 bread(devvp, fsbtodb(fs, ino_to_fsba(fs, ip->i_number)), 758 ffs_load_inode(bp, ip, fs, ip->i_number); 759 ip->i_effnlink = ip->i_nlink; 1460 sync_doupdate(struct inode *ip) argument 1463 return ((ip 1478 struct inode *ip; local 1542 struct inode *ip; local 1689 struct inode *ip; local 2018 ffs_ifree(struct ufsmount *ump, struct inode *ip) argument [all...] |
H A D | fs.h | 97 * information in the inode, using the ``blksize(fs, ip, lbn)'' macro. 623 #define blksize(fs, ip, lbn) \ 624 (((lbn) >= NDADDR || (ip)->i_size >= smalllblktosize(fs, (lbn) + 1)) \ 626 : (fragroundup(fs, blkoff(fs, (ip)->i_size))))
|
/freebsd-11-stable/usr.sbin/syslogd/ |
H A D | syslogd.c | 2204 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/netinet/libalias/ |
H A D | alias.h | 44 #include <netinet/ip.h>
|
/freebsd-11-stable/sbin/ipfw/ |
H A D | nat.c | 57 { "ip", TOK_IP }, 78 * n->ip ip address of interface "ifn" 166 n->ip.s_addr = htonl(INADDR_ANY); 168 n->ip = sin->sin_addr; 649 else if (n->ip.s_addr != 0) 650 printf(" ip %s", inet_ntoa(n->ip)); 866 if (!inet_aton(av[0], &(n->ip))) 867 errx(EX_DATAERR, "bad ip addres [all...] |
/freebsd-11-stable/sbin/pfctl/ |
H A D | pfctl_parser.c | 47 #include <netinet/ip.h>
|
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/ztest/ |
H A D | ztest.c | 1268 uint64_t *ip = buf; local 1271 while (ip < ip_end) 1272 *ip++ = value; 1278 uint64_t *ip = buf; local 1282 while (ip < ip_end) 1283 diff |= (value - *ip++);
|
/freebsd-11-stable/sys/net/ |
H A D | if.c | 86 #include <netinet/ip.h>
|
/freebsd-11-stable/contrib/ntp/ntpd/ |
H A D | refclock_jupiter.c | 541 struct jid *ip; local 622 ip = (struct jid *)sp; 625 ip->chans, ip->vers, ip->date, ip->opts); 628 ip->chans, ip->vers, ip->date, ip [all...] |
/freebsd-11-stable/contrib/ntp/include/ |
H A D | ntp_io.h | 38 # include <netinet/ip.h>
|
/freebsd-11-stable/usr.bin/kdump/ |
H A D | kdump.c | 858 register_t *ip, *first; local 863 ip = first = &ktr->ktr_args[0]; 896 print_integer_arg_valid(sysdecode_atfd, *ip); 898 ip++; 904 print_number(ip, narg, c); 906 ioctlname(*ip); 908 ip++; 914 print_integer_arg(sysdecode_ptrace_request, *ip); 916 ip++; 922 print_number(ip, nar [all...] |
/freebsd-11-stable/sbin/newfs/ |
H A D | mkfs.c | 1017 iput(union dinode *ip, ino_t ino) argument 1042 ip->dp1; 1045 ip->dp2;
|
/freebsd-11-stable/sys/dev/md/ |
H A D | md.c | 240 struct indir *ip; local 242 ip = malloc(sizeof *ip, M_MD, (md_malloc_wait ? M_WAITOK : M_NOWAIT) 244 if (ip == NULL) 246 ip->array = malloc(sizeof(uintptr_t) * NINDIR, 248 if (ip->array == NULL) { 249 free(ip, M_MD); 252 ip->total = NINDIR; 253 ip->shift = shift; 254 return (ip); 258 del_indir(struct indir *ip) argument 266 destroy_indir(struct md_s *sc, struct indir *ip) argument 290 struct indir *ip; local 317 s_read(struct indir *ip, off_t offset) argument 344 s_write(struct indir *ip, off_t offset, uintptr_t ptr) argument [all...] |
/freebsd-11-stable/usr.bin/netstat/ |
H A D | inet.c | 51 #include <netinet/ip.h> 1050 if (fetch_stats("net.inet.ip.stats", off, &ipstat, 1071 "{N:/with ip length > max ip packet size}\n"); 1107 "{N:/packet%s sent with fabricated ip header}\n");
|
/freebsd-11-stable/sbin/fsck_ffs/ |
H A D | suj.c | 748 * specified by ip. This follows the whole tree and honors di_size and 753 ino_blkatoff(union dinode *ip, ino_t ino, ufs_lbn_t lbn, int *frags) argument 765 if (lbn > lblkno(fs, ip->dp2.di_extsize - 1)) 767 *frags = numfrags(fs, sblksize(fs, ip->dp2.di_extsize, lbn)); 768 return (ip->dp2.di_extb[lbn]); 773 if (DIP(ip, di_mode) == IFLNK && 774 DIP(ip, di_size) < fs->fs_maxsymlinklen) 777 *frags = numfrags(fs, sblksize(fs, DIP(ip, di_size), lbn)); 778 return (DIP(ip, di_db[lbn])); 786 return (DIP(ip, di_i 808 union dinode *ip; local 1026 ino_visit(union dinode *ip, ino_t ino, ino_visitor visitor, int flags) argument 1101 union dinode *ip; local 1279 ino_reclaim(union dinode *ip, ino_t ino, int mode) argument 1312 union dinode *ip; local 1350 union dinode *ip; local 1517 union dinode *ip; local 1932 union dinode *ip; local 2381 suj_verifyino(union dinode *ip) argument 2683 union dinode *ip; local [all...] |
/freebsd-11-stable/sys/dev/hyperv/netvsc/ |
H A D | if_hn.c | 102 #include <netinet/ip.h> 457 /* Trust ip packets verification on host side. */ 461 "Trust ip packet verification on host side, " 764 struct ip *ip; local 767 PULLUP_HDR(m_head, ehlen + sizeof(*ip)); 768 ip = mtodo(m_head, ehlen); 769 iphlen = ip->ip_hl << 2; 775 ip->ip_len = 0; 776 ip 825 const struct ip *ip; local 4797 const struct ip *ip; local [all...] |
/freebsd-11-stable/contrib/unbound/iterator/ |
H A D | iter_hints.c | 92 ah(struct delegpt* dp, const char* sv, const char* ip) argument 103 !extstrtoaddr(ip, &addr, &addrlen) || 251 log_err("cannot parse stub %s ip address: '%s'",
|
/freebsd-11-stable/contrib/tcpdump/ |
H A D | print-vrrp.c | 38 #include "ip.h" 153 uint16_t cksum = nextproto4_cksum(ndo, (const struct ip *)bp2, bp,
|
H A D | print-tcp.c | 48 #include "ip.h" 59 const struct ip *ip, const struct tcphdr *tp, 141 register const struct ip *ip, 145 return nextproto4_cksum(ndo, ip, (const uint8_t *)tp, len, len, 165 register const struct ip *ip; local 177 ip = (const struct ip *)bp 140 tcp_cksum(netdissect_options *ndo, register const struct ip *ip, register const struct tcphdr *tp, register u_int len) argument 840 tcp_verify_signature(netdissect_options *ndo, const struct ip *ip, const struct tcphdr *tp, const u_char *data, int length, const u_char *rcvsig) argument [all...] |
H A D | print-sl.c | 33 #include "ip.h" 55 static int sliplink_print(netdissect_options *, const u_char *, const struct ip *, u_int); 56 static int compressed_sl_print(netdissect_options *, const u_char *, const struct ip *, u_int, int); 64 register const struct ip *ip; local 74 ip = (const struct ip *)(p + SLIP_HDRLEN); 77 if (sliplink_print(ndo, p, ip, length) == -1) { 87 switch (IP_V(ip)) { 89 ip_print(ndo, (const u_char *)ip, lengt 107 register const struct ip *ip; local 129 sliplink_print(netdissect_options *ndo, register const u_char *p, register const struct ip *ip, register u_int length) argument 236 compressed_sl_print(netdissect_options *ndo, const u_char *chdr, const struct ip *ip, u_int length, int dir) argument [all...] |
H A D | print-rx.c | 51 #include "ip.h" 493 static void rx_cache_insert(netdissect_options *, const u_char *, const struct ip *, int); 494 static int rx_cache_find(const struct rx_header *, const struct ip *, 593 rx_cache_insert(ndo, bp, (const struct ip *) bp2, dport); 632 rx_cache_find(rxh, (const struct ip *) bp2, 680 const u_char *bp, const struct ip *ip, int dport) 694 UNALIGNED_MEMCPY(&rxent->client, &ip->ip_src, sizeof(uint32_t)); 695 UNALIGNED_MEMCPY(&rxent->server, &ip->ip_dst, sizeof(uint32_t)); 709 rx_cache_find(const struct rx_header *rxh, const struct ip *i argument 679 rx_cache_insert(netdissect_options *ndo, const u_char *bp, const struct ip *ip, int dport) argument [all...] |
H A D | print-nfs.c | 40 #include "ip.h" 205 const struct ip *ip; local 210 switch (IP_V((const struct ip *)bp)) { 212 ip = (const struct ip *)bp; 213 strlcpy(srcaddr, ipaddr_string(ndo, &ip->ip_src), sizeof(srcaddr)); 214 strlcpy(dstaddr, ipaddr_string(ndo, &ip->ip_dst), sizeof(dstaddr)); 869 const struct ip *ip local 918 const struct ip *ip = (const struct ip *)bp; local [all...] |