| /freebsd/contrib/netbsd-tests/ipf/expected/ |
| H A D | n5 | 1 > zx0 ip #0 20(20) 255 10.1.1.0 > 10.1.1.2 2 > zx0 ip #0 20(20) 255 10.2.2.2 > 10.1.1.2 3 > zx0 ip #0 20(20) 255 10.1.1.2 > 10.1.1.1 4 > zx0 ip #0 40(20) 6 10.1.1.2,1025 > 10.1.1.1,1025 5 > zx0 ip #0 40(20) 6 10.1.1.2,1026 > 10.1.1.1,1025 6 > zx0 ip #0 20(20) 255 10.2.2.1 > 10.1.2.1 7 > zx0 ip #0 20(20) 255 10.2.2.2 > 10.1.2.1 8 < zx0 ip #0 20(20) 255 10.1.1.1 > 10.1.1.2 9 < zx0 ip #0 20(20) 255 10.1.1.2 > 10.1.1.1 10 < zx0 ip #0 20(20) 255 10.2.2.1 > 10.2.1.1 [all …]
|
| H A D | n1 | 1 > zx0 ip #0 20(20) 255 10.1.1.0 > 10.1.1.2 2 > zx0 ip #0 20(20) 255 10.2.2.2 > 10.1.1.2 3 > zx0 ip #0 20(20) 255 10.1.1.2 > 10.1.1.1 4 > zx0 ip #0 40(20) 6 10.1.1.2,1025 > 10.1.1.1,1025 5 > zx0 ip #0 40(20) 6 10.1.1.2,1026 > 10.1.1.1,1025 6 > zx0 ip #0 20(20) 255 10.2.2.1 > 10.1.2.1 7 > zx0 ip #0 20(20) 255 10.2.2.2 > 10.1.2.1 8 < zx0 ip #0 20(20) 255 10.1.1.1 > 10.1.1.2 9 < zx0 ip #0 20(20) 255 10.1.1.2 > 10.1.1.1 10 < zx0 ip #0 20(20) 255 10.2.2.1 > 10.2.1.1 [all …]
|
| H A D | n6 | 1 < zx0 ip #0 40(20) 6 10.2.2.2,12345 > 10.2.2.1,10023 2 < zx0 ip #0 40(20) 6 10.2.2.2,12345 > 10.1.1.2,23 3 < zx0 ip #0 40(20) 6 10.3.0.1,12345 > 10.1.2.2,23 4 < zx0 ip #0 40(20) 6 10.3.0.1,12345 > 10.2.2.2,23 5 < zx0 ip #0 40(20) 6 10.3.3.3,12345 > 10.2.2.1,10023 6 < zx0 ip #0 40(20) 6 10.2.2.2,12345 > 10.1.1.1,53 7 < zx0 ip #0 40(20) 6 10.3.3.3,12345 > 10.1.1.1,53 8 < zx0 ip #0 40(20) 6 10.2.2.2,12345 > 10.1.0.0,23 9 < zx0 ip #0 40(20) 6 10.3.3.3,12345 > 10.1.0.0,23 10 < zx0 ip #0 28(20) 17 10.2.2.2,12345 > 10.1.1.0,53 [all …]
|
| H A D | n2 | 1 > zx0 ip #0 40(20) 6 10.2.2.2,10000 > 10.1.1.1,1025 2 > zx0 ip #0 40(20) 6 10.2.2.2,10001 > 10.1.1.2,1025 3 > zx0 ip #0 20(20) 0 10.1.1.0 > 10.1.1.2 4 > zx0 ip #0 20(20) 0 10.1.1.1 > 10.1.2.1 5 > zx0 ip #0 40(20) 6 10.1.1.2,1025 > 10.1.1.1,1025 6 > zx0 ip #0 40(20) 6 10.1.1.2,1025 > 10.1.1.1,1025 7 > zx0 ip #0 40(20) 6 10.1.1.2,1026 > 10.1.1.1,1025 8 > zx0 ip #0 28(20) 17 10.1.1.2,1025 > 10.1.1.1,1025 9 > zx0 ip #0 40(20) 6 10.1.1.3,2000 > 10.1.2.1,80 10 > zx0 ip #0 40(20) 6 10.1.1.3,2001 > 10.1.3.1,80 [all …]
|
| H A D | n11 | 1 > zx0 ip #0 20(20) 255 10.1.1.0 > 10.1.1.2 2 > zx0 ip #0 20(20) 255 1.6.7.8 > 10.1.1.2 3 > zx0 ip #0 20(20) 255 10.1.1.2 > 10.1.1.1 4 > zx0 ip #0 20(20) 255 10.2.2.1 > 10.1.2.1 5 > zx0 ip #0 20(20) 255 10.2.2.2 > 10.1.2.1 6 < zx0 ip #0 20(20) 255 10.1.1.1 > 10.1.1.2 7 < zx0 ip #0 20(20) 255 10.1.1.2 > 10.1.1.1 8 < zx0 ip #0 20(20) 255 10.2.2.1 > 10.2.1.1 9 < zx0 ip #0 20(20) 255 10.2.2.2 > 10.2.1.1 10 < zx0 ip #0 20(20) 255 10.2.2.3 > 10.1.1.1 [all …]
|
| H A D | n4 | 1 < zx0 ip #0 40(20) 6 10.3.3.3,12345 > 10.2.2.1,10023 2 > zx0 ip #0 40(20) 6 10.1.1.1,23 > 10.3.3.3,12345 3 < zx0 ip #0 40(20) 6 10.3.3.3,12345 > 10.1.1.1,53 4 > zx0 ip #0 40(20) 6 10.2.2.1,10053 > 10.3.3.3,12345 5 < zx0 ip #0 40(20) 6 10.3.3.3,12346 > 10.1.0.0,23 6 > zx0 ip #0 40(20) 6 10.2.2.1,10023 > 10.3.3.3,12346 7 < zx0 ip #0 28(20) 17 10.3.3.3,12345 > 10.1.1.0,53 8 > zx0 ip #0 28(20) 17 10.2.2.1,10053 > 10.3.3.3,12345 9 < zx0 ip #0 40(20) 6 10.3.3.3,12345 > 10.1.1.0,53 10 > zx0 ip #0 40(20) 6 10.2.2.1,53 > 10.3.3.3,12345 [all …]
|
| /freebsd/usr.bin/kdump/ |
| H A D | linux.c | 69 register_t *ip, *first; in ktrsyscall_linux() local 73 ip = first = &ktr->ktr_args[0]; in ktrsyscall_linux() 99 print_integer_arg_valid(sysdecode_atfd, *ip); in ktrsyscall_linux() 101 ip++; in ktrsyscall_linux() 110 print_number(ip, narg, c); in ktrsyscall_linux() 112 print_mask_arg(sysdecode_access_mode, *ip); in ktrsyscall_linux() 113 ip++; in ktrsyscall_linux() 120 print_number(ip, narg, c); in ktrsyscall_linux() 122 decode_filemode(*ip); in ktrsyscall_linux() 123 ip++; in ktrsyscall_linux() [all …]
|
| H A D | kdump.c | 820 register_t *ip; in ktrsyscall() local 823 ip = &ktr->ktr_args[0]; in ktrsyscall() 829 ktrsyscall_freebsd(ktr, &ip, &narg, &c, in ktrsyscall() 836 ktrsyscall_linux32(ktr, &ip, in ktrsyscall() 840 ktrsyscall_linux(ktr, &ip, &narg, &c); in ktrsyscall() 846 print_number(ip, narg, c); in ktrsyscall() 857 register_t *ip, *first; in ktrsyscall_freebsd() local 861 ip = first = &ktr->ktr_args[0]; in ktrsyscall_freebsd() 891 print_integer_arg_valid(sysdecode_atfd, *ip); in ktrsyscall_freebsd() 893 ip++; in ktrsyscall_freebsd() [all …]
|
| /freebsd/bin/stty/ |
| H A D | key.c | 99 ksearch(char ***argvp, struct info *ip) in ksearch() argument 106 ip->off = 1; in ksearch() 109 ip->off = 0; in ksearch() 115 if (!(kp->flags & F_OFFOK) && ip->off) { in ksearch() 119 if (kp->flags & F_NEEDARG && !(ip->arg = *++*argvp)) { in ksearch() 123 kp->f(ip); in ksearch() 128 f_all(struct info *ip) in f_all() argument 130 print(&ip->t, &ip->win, ip->ldisc, BSD); in f_all() 134 f_cbreak(struct info *ip) in f_cbreak() argument 137 if (ip->off) in f_cbreak() [all …]
|
| /freebsd/sbin/ipf/ipsend/ |
| H A D | iptests.c | 64 #include <netinet/ip.h> 93 ip_test1(char *dev, int mtu, ip_t *ip, struct in_addr gwip, int ptest) in ip_test1() argument 103 IP_HL_A(ip, sizeof(*ip) >> 2); in ip_test1() 104 IP_V_A(ip, IPVERSION); in ip_test1() 105 ip->ip_tos = 0; in ip_test1() 106 ip->ip_off = 0; in ip_test1() 107 ip->ip_ttl = 60; in ip_test1() 108 ip->ip_p = IPPROTO_UDP; in ip_test1() 109 ip->ip_sum = 0; in ip_test1() 110 u = (udphdr_t *)(ip + 1); in ip_test1() [all …]
|
| H A D | ip.c | 3 * ip.c (C) 1995-1998 Darren Reed 13 #include <netinet/ip.h> 77 send_ip(int nfd, int mtu, ip_t *ip, struct in_addr gwip, int frag) in send_ip() argument 112 bcopy((char *)ip, (char *)&ipsv, sizeof(*ip)); in send_ip() 114 iplen = ip->ip_len; in send_ip() 115 ip->ip_len = htons(iplen); in send_ip() 117 if (!IP_V(ip)) in send_ip() 118 IP_V_A(ip, IPVERSION); in send_ip() 119 if (!ip->ip_id) in send_ip() 120 ip->ip_id = htons(id++); in send_ip() [all …]
|
| H A D | ipsend.c | 18 #include <netinet/ip.h> 52 \t\t-s src\t\tsource address for IP packet\n\ 62 \t\t-L filename\tUse IP language for sending packets\n\ 70 void do_icmp(ip_t *ip, char *args) in do_icmp() argument 75 ip->ip_p = IPPROTO_ICMP; in do_icmp() 76 ip->ip_len += sizeof(*ic); in do_icmp() 77 ic = (struct icmp *)(ip + 1); in do_icmp() 120 send_packets(char *dev, int mtu, ip_t *ip, struct in_addr gwip) in send_packets() argument 127 return (send_packet(wfd, mtu, ip, gwip)); in send_packets() 131 udpcksum(ip_t *ip, struct udphdr *udp, int len) in udpcksum() argument [all …]
|
| /freebsd/sys/fs/ext2fs/ |
| H A D | ext2_inode_cnv.c | 145 ext2_ei2i(struct ext2fs_dinode *ei, struct inode *ip) in ext2_ei2i() argument 147 struct m_ext2fs *fs = ip->i_e2fs; in ext2_ei2i() 152 if ((ip->i_number < EXT2_FIRST_INO(fs) && ip->i_number != EXT2_ROOTINO) || in ext2_ei2i() 153 (ip->i_number < EXT2_ROOTINO) || in ext2_ei2i() 154 (ip->i_number > le32toh(fs->e2fs->e2fs_icount))) { in ext2_ei2i() 165 ip->i_nlink = le16toh(ei->e2di_nlink); in ext2_ei2i() 166 ip->i_mode = ip->i_nlink ? le16toh(ei->e2di_mode) : 0; in ext2_ei2i() 167 if (ip->i_number == EXT2_ROOTINO && in ext2_ei2i() 168 (ip->i_nlink < 2 || !S_ISDIR(ip->i_mode))) { in ext2_ei2i() 184 ip->i_size = le32toh(ei->e2di_size); in ext2_ei2i() [all …]
|
| H A D | ext2_extents.c | 70 ext4_ext_blk_check(struct inode *ip, e4fs_daddr_t blk) in ext4_ext_blk_check() argument 74 fs = ip->i_e2fs; in ext4_ext_blk_check() 83 ext4_ext_walk_index(struct inode *ip, struct ext4_extent_index *ex, int depth, in ext4_ext_walk_index() argument 91 fs = ip->i_e2fs; in ext4_ext_walk_index() 103 error = ext4_ext_blk_check(ip, blk); in ext4_ext_walk_index() 107 if ((error = bread(ip->i_devvp, in ext4_ext_walk_index() 113 error = ext4_ext_walk_header(ip, in ext4_ext_walk_index() 122 ext4_ext_walk_extent(struct inode *ip, struct ext4_extent *ep) in ext4_ext_walk_extent() argument 128 error = ext4_ext_blk_check(ip, blk); in ext4_ext_walk_extent() 141 ext4_ext_walk_header(struct inode *ip, struct ext4_extent_header *eh, int depth) in ext4_ext_walk_header() argument [all …]
|
| H A D | ext2_vnops.c | 217 struct inode *ip; in ext2_itimes_locked() local 222 ip = VTOI(vp); in ext2_itimes_locked() 223 if ((ip->i_flag & (IN_ACCESS | IN_CHANGE | IN_UPDATE)) == 0) in ext2_itimes_locked() 226 ip->i_flag |= IN_LAZYMOD; in ext2_itimes_locked() 228 ip->i_flag |= IN_MODIFIED; in ext2_itimes_locked() 231 if (ip->i_flag & IN_ACCESS) { in ext2_itimes_locked() 232 ip->i_atime = ts.tv_sec; in ext2_itimes_locked() 233 ip->i_atimensec = ts.tv_nsec; in ext2_itimes_locked() 235 if (ip->i_flag & IN_UPDATE) { in ext2_itimes_locked() 236 ip->i_mtime = ts.tv_sec; in ext2_itimes_locked() [all …]
|
| /freebsd/sys/contrib/openzfs/module/zstd/lib/compress/ |
| H A D | zstd_double_fast.c | 29 const BYTE* ip = base + ms->nextToUpdate; in ZSTD_fillDoubleHashTableForCDict() local 37 for (; ip + fastHashFillStep - 1 <= iend; ip += fastHashFillStep) { in ZSTD_fillDoubleHashTableForCDict() 38 U32 const curr = (U32)(ip - base); in ZSTD_fillDoubleHashTableForCDict() 41 size_t const smHashAndTag = ZSTD_hashPtr(ip + i, hBitsS, mls); in ZSTD_fillDoubleHashTableForCDict() 42 size_t const lgHashAndTag = ZSTD_hashPtr(ip + i, hBitsL, 8); in ZSTD_fillDoubleHashTableForCDict() 67 const BYTE* ip = base + ms->nextToUpdate; in ZSTD_fillDoubleHashTableForCCtx() local 75 for (; ip + fastHashFillStep - 1 <= iend; ip += fastHashFillStep) { in ZSTD_fillDoubleHashTableForCCtx() 76 U32 const curr = (U32)(ip - base); in ZSTD_fillDoubleHashTableForCCtx() 79 size_t const smHash = ZSTD_hashPtr(ip + i, hBitsS, mls); in ZSTD_fillDoubleHashTableForCCtx() 80 size_t const lgHash = ZSTD_hashPtr(ip + i, hBitsL, 8); in ZSTD_fillDoubleHashTableForCCtx() [all …]
|
| /freebsd/sys/contrib/zstd/lib/compress/ |
| H A D | zstd_double_fast.c | 28 const BYTE* ip = base + ms->nextToUpdate; in ZSTD_fillDoubleHashTableForCDict() local 36 for (; ip + fastHashFillStep - 1 <= iend; ip += fastHashFillStep) { in ZSTD_fillDoubleHashTableForCDict() 37 U32 const curr = (U32)(ip - base); in ZSTD_fillDoubleHashTableForCDict() 40 size_t const smHashAndTag = ZSTD_hashPtr(ip + i, hBitsS, mls); in ZSTD_fillDoubleHashTableForCDict() 41 size_t const lgHashAndTag = ZSTD_hashPtr(ip + i, hBitsL, 8); in ZSTD_fillDoubleHashTableForCDict() 66 const BYTE* ip = base + ms->nextToUpdate; in ZSTD_fillDoubleHashTableForCCtx() local 74 for (; ip + fastHashFillStep - 1 <= iend; ip += fastHashFillStep) { in ZSTD_fillDoubleHashTableForCCtx() 75 U32 const curr = (U32)(ip - base); in ZSTD_fillDoubleHashTableForCCtx() 78 size_t const smHash = ZSTD_hashPtr(ip + i, hBitsS, mls); in ZSTD_fillDoubleHashTableForCCtx() 79 size_t const lgHash = ZSTD_hashPtr(ip + i, hBitsL, 8); in ZSTD_fillDoubleHashTableForCCtx() [all …]
|
| /freebsd/sbin/dhclient/ |
| H A D | dhclient.c | 625 * destination: IP address to send sendpacket to in state_reboot() 636 struct interface_info *ip = ipp; in state_reboot() 638 cancel_timeout(v6only_wait_expired, ip); in state_reboot() 641 if (!ip->client->active || ip->client->active->is_bootp) { in state_reboot() 642 state_init(ip); in state_reboot() 647 ip->client->state = S_REBOOTING; in state_reboot() 652 ip->client->xid = arc4random(); 656 make_request(ip, ip in state_init() 620 struct interface_info *ip = ipp; state_reboot() local 657 struct interface_info *ip = ipp; state_init() local 682 struct interface_info *ip = ipp; state_selecting() local 771 struct interface_info *ip = packet->interface; dhcpack() local 861 bind_lease(struct interface_info * ip) bind_lease() argument 938 struct interface_info *ip = ipp; state_bound() local 1029 struct interface_info *ip = packet->interface; dhcpoffer() local 1157 struct interface_info *ip = packet->interface; packet_to_lease() local 1296 struct interface_info *ip = packet->interface; dhcpnak() local 1336 struct interface_info *ip = ipp; send_discover() local 1436 struct interface_info *ip = ipp; state_panic() local 1529 struct interface_info *ip = ipp; send_request() local 1656 struct interface_info *ip = ipp; send_decline() local 1667 make_discover(struct interface_info * ip,struct client_lease * lease) make_discover() argument 1780 make_request(struct interface_info * ip,struct client_lease * lease) make_request() argument 1913 make_decline(struct interface_info * ip,struct client_lease * lease) make_decline() argument 2038 write_client_lease(struct interface_info * ip,struct client_lease * lease,int rewrite) write_client_lease() argument 2141 struct interface_info *ip = ifi; priv_script_init() local 2169 struct interface_info *ip = ifi; priv_script_write_params() local 2397 struct interface_info *ip = ifi; priv_script_go() local [all...] |
| H A D | dhcp-options.5 | 70 .Ar ip-address 71 data type can be entered either as an explicit IP address 76 A domain name must resolve to a single IP address. 156 .It Ic option subnet-mask Ar ip-address ; 174 .Ic option routers Ar ip-address 175 .Oo , Ar ip-address ... Oc ; 179 option specifies a list of IP addresses for routers on the client's subnet. 182 .Ic option time-servers Ar ip-address 183 .Oo , Ar ip-address ... Oc ; 190 .Ic option ien116-name-servers Ar ip [all...] |
| /freebsd/sys/ufs/ufs/ |
| H A D | ufs_vnops.c | 148 struct inode *ip; in ufs_itimes_locked() local 153 ip = VTOI(vp); in ufs_itimes_locked() 154 if (UFS_RDONLY(ip)) in ufs_itimes_locked() 156 if ((ip->i_flag & (IN_ACCESS | IN_CHANGE | IN_UPDATE)) == 0) in ufs_itimes_locked() 160 UFS_INODE_SET_FLAG(ip, IN_LAZYMOD); in ufs_itimes_locked() 163 (ip->i_flag & (IN_CHANGE | IN_UPDATE)) != 0) in ufs_itimes_locked() 164 UFS_INODE_SET_FLAG(ip, IN_MODIFIED); in ufs_itimes_locked() 165 else if ((ip->i_flag & IN_ACCESS) != 0) in ufs_itimes_locked() 166 UFS_INODE_SET_FLAG(ip, IN_LAZYACCESS); in ufs_itimes_locked() 168 if ((ip->i_flag & IN_ACCESS) != 0) { in ufs_itimes_locked() [all …]
|
| H A D | inode.h | 169 #define UFS_INODE_SET_MODE(ip, mode) do { \ 170 struct inode *_ip = (ip); \ 177 #define UFS_INODE_SET_FLAG(ip, flags) do { \ 178 struct inode *_ip = (ip); \ 187 #define UFS_INODE_SET_FLAG_SHARED(ip, flags) do { \ 188 struct inode *_ip = (ip); \ 207 #define ITOUMP(ip) ((ip)->i_ump) 208 #define ITODEV(ip) (ITOUMP(ip) 172 UFS_INODE_SET_MODE(ip,mode) global() argument 180 UFS_INODE_SET_FLAG(ip,flags) global() argument 190 UFS_INODE_SET_FLAG_SHARED(ip,flags) global() argument 210 ITOUMP(ip) global() argument 211 ITODEV(ip) global() argument 212 ITODEVVP(ip) global() argument 213 ITOFS(ip) global() argument 214 ITOVFS(ip) global() argument 219 I_IS_UFS1(const struct inode * ip) I_IS_UFS1() argument 226 I_IS_UFS2(const struct inode * ip) I_IS_UFS2() argument 237 DIP(ip,field) global() argument 239 DIP_SET(ip,field,val) global() argument 245 DIP_SET_NLINK(ip,val) global() argument 252 IS_SNAPSHOT(ip) global() argument 267 ITOV(ip) global() argument 291 I_OFFSET(ip) global() argument 292 SET_I_OFFSET(ip,off) global() argument 296 I_COUNT(ip) global() argument 297 SET_I_COUNT(ip,cnt) global() argument 301 I_ENDOFF(ip) global() argument 302 SET_I_ENDOFF(ip,off) global() argument 305 I_OFFSET(ip) global() argument 306 SET_I_OFFSET(ip,off) global() argument 307 I_COUNT(ip) global() argument 308 SET_I_COUNT(ip,cnt) global() argument 309 I_ENDOFF(ip) global() argument 310 SET_I_ENDOFF(ip,off) global() argument [all...] |
| /freebsd/stand/libsa/ |
| H A D | ip.c | 52 #include <netinet/ip.h> 63 struct ip *ipq_hdr; 79 struct ip *ip_hdr; 85 /* Caller must leave room for ethernet and ip headers in front!! */ 90 struct ip *ip; in sendip() local 98 ip = (struct ip *)pkt - 1; in sendip() 99 len += sizeof(*ip); in sendip() 101 bzero(ip, sizeof(*ip)); in sendip() 103 ip->ip_v = IPVERSION; /* half-char */ in sendip() 104 ip->ip_hl = sizeof(*ip) >> 2; /* half-char */ in sendip() [all …]
|
| /freebsd/tests/sys/netinet/ |
| H A D | ip_reass_test.c | 38 #include <netinet/ip.h> 54 struct ip hdr; 76 update_cksum(struct ip *ip) in update_cksum() argument 78 ip->ip_sum = 0; in update_cksum() 79 ip->ip_sum = in_cksum(ip, sizeof(struct ip)); in update_cksum() 85 struct ip *ip; in alloc_lopacket() local 96 ip = &packet->hdr; in alloc_lopacket() 97 ip->ip_hl = sizeof(struct ip) >> 2; in alloc_lopacket() 98 ip->ip_v = 4; in alloc_lopacket() 99 ip->ip_tos = 0; in alloc_lopacket() [all …]
|
| /freebsd/sys/ufs/ffs/ |
| H A D | ffs_inode.c | 98 struct inode *ip; in ffs_update() local 104 ip = VTOI(vp); in ffs_update() 105 if ((ip->i_flag & IN_MODIFIED) == 0 && waitfor == 0) in ffs_update() 107 ip->i_flag &= ~(IN_LAZYACCESS | IN_LAZYMOD | IN_MODIFIED); in ffs_update() 127 ip->i_flag &= ~(IN_SIZEMOD | IN_IBLKDATA); in ffs_update() 128 fs = ITOFS(ip); in ffs_update() 144 if (IS_SNAPSHOT(ip)) in ffs_update() 146 bn = fsbtodb(fs, ino_to_fsba(fs, ip->i_number)); in ffs_update() 147 error = ffs_breadz(VFSTOUFS(vp->v_mount), ITODEVVP(ip), bn, bn, in ffs_update() 186 softdep_update_inodeblock(ip, bp, waitfor); in ffs_update() [all …]
|
| /freebsd/sys/net/ |
| H A D | debugnet_inet.c | 51 #include <netinet/ip.h> 69 * Handler for IP packets: checks their sanity and then processes any debugnet 83 struct ip *ip; in debugnet_handle_ip() local 90 /* IP processing. */ in debugnet_handle_ip() 92 if (m->m_pkthdr.len < sizeof(struct ip)) { in debugnet_handle_ip() 93 DNETDEBUG("dropping packet too small for IP header\n"); in debugnet_handle_ip() 96 if (m->m_len < sizeof(struct ip)) { in debugnet_handle_ip() 97 m = m_pullup(m, sizeof(struct ip)); in debugnet_handle_ip() 104 ip = mtod(m, struct ip *); in debugnet_handle_ip() 106 /* IP version. */ in debugnet_handle_ip() [all …]
|