Lines Matching defs:ipmarkinfo
21 struct ipmarkinfo {
50 struct ipt_ipmark_target_info *ipmarkinfo =
53 ipmarkinfo->andmask=0xffffffff;
54 ipmarkinfo->ormask=0;
65 struct ipt_ipmark_target_info *ipmarkinfo
71 if(!strcmp(optarg, "src")) ipmarkinfo->addr=IPT_IPMARK_SRC;
72 else if(!strcmp(optarg, "dst")) ipmarkinfo->addr=IPT_IPMARK_DST;
81 ipmarkinfo->andmask = strtoul(optarg, &end, 0);
90 ipmarkinfo->ormask = strtoul(optarg, &end, 0);
123 const struct ipt_ipmark_target_info *ipmarkinfo =
126 if(ipmarkinfo->addr == IPT_IPMARK_SRC)
130 printf(" ip and 0x%lx or 0x%lx", ipmarkinfo->andmask, ipmarkinfo->ormask);
137 const struct ipt_ipmark_target_info *ipmarkinfo =
140 if(ipmarkinfo->addr == IPT_IPMARK_SRC)
144 if(ipmarkinfo->andmask != 0xffffffff)
145 printf("--and-mask 0x%lx ", ipmarkinfo->andmask);
146 if(ipmarkinfo->ormask != 0)
147 printf("--or-mask 0x%lx ", ipmarkinfo->ormask);