Lines Matching defs:ip
43 #include <netinet/ip.h>
105 { "ip option", 0 },
116 { "ip tos option", 0},
329 * Print the ip address contained in a command.
603 inet_ntop(AF_INET, &cmdif->p.ip, ipv4str,
854 ipfw_insn_ip *ip = (ipfw_insn_ip *)cmd;
856 compat_rule->fw_src = ip->addr;
857 compat_rule->fw_smsk = ip->mask;
910 ipfw_insn_ip *ip = (ipfw_insn_ip *)cmd;
912 compat_rule->fw_dst = ip->addr;
913 compat_rule->fw_dmsk = ip->mask;
994 else if (ifcmd->p.ip.s_addr != 0) {
996 ifu.fu_via_ip = ifcmd->p.ip;
1017 else if (ifcmd->p.ip.s_addr != 0) {
1019 ifu.fu_via_ip = ifcmd->p.ip;
1044 ifu.fu_via_ip = ifcmd->p.ip;
1133 ipfw_insn_ip *ip = (ipfw_insn_ip *)cmd;
1135 compat_rule->fw_src = ip->addr;
1136 compat_rule->fw_smsk = ip->mask;
1189 ipfw_insn_ip *ip = (ipfw_insn_ip *)cmd;
1191 compat_rule->fw_dst = ip->addr;
1192 compat_rule->fw_dmsk = ip->mask;
1273 else if (ifcmd->p.ip.s_addr != 0) {
1275 ifu.fu_via_ip = ifcmd->p.ip;
1296 else if (ifcmd->p.ip.s_addr != 0) {
1298 ifu.fu_via_ip = ifcmd->p.ip;
1323 ifu.fu_via_ip = ifcmd->p.ip;
2119 ipfw_insn_ip *ip = (ipfw_insn_ip *)cmd;
2121 ip->addr = compat_rule->fw_src;
2122 ip->mask = compat_rule->fw_smsk;
2192 ipfw_insn_ip *ip = (ipfw_insn_ip *)cmd;
2194 ip->addr = compat_rule->fw_dst;
2195 ip->mask = compat_rule->fw_dmsk;
2297 ifcmd->p.ip = ifu.fu_via_ip;
2345 ifcmd->p.ip = ifu.fu_via_ip;
2370 ifcmd->p.ip = ifu.fu_via_ip;
2662 ipfw_insn_ip *ip = (ipfw_insn_ip *)cmd;
2664 ip->addr = compat_rule->fw_src;
2665 ip->mask = compat_rule->fw_smsk;
2735 ipfw_insn_ip *ip = (ipfw_insn_ip *)cmd;
2737 ip->addr = compat_rule->fw_dst;
2738 ip->mask = compat_rule->fw_dmsk;
2840 ifcmd->p.ip = ifu.fu_via_ip;
2888 ifcmd->p.ip = ifu.fu_via_ip;
2913 ifcmd->p.ip = ifu.fu_via_ip;