taglinefilesource code
frwl1049net/ipv4/ip_fw.cstatic int insert_in_chain(struct ip_fw *volatile* chainptr, struct ip_fw *frwl,int len)
frwl1065net/ipv4/ip_fw.cmemcpy(ftmp, frwl, len);
frwl1079net/ipv4/ip_fw.cstatic int append_to_chain(struct ip_fw *volatile* chainptr, struct ip_fw *frwl,int len)
frwl1097net/ipv4/ip_fw.cmemcpy(ftmp, frwl, len);
frwl1119net/ipv4/ip_fw.cstatic int del_from_chain(struct ip_fw *volatile*chainptr, struct ip_fw *frwl)
frwl1146net/ipv4/ip_fw.cif (ftmp->fw_src.s_addr!=frwl->fw_src.s_addr 
frwl1147net/ipv4/ip_fw.c||  ftmp->fw_dst.s_addr!=frwl->fw_dst.s_addr
frwl1148net/ipv4/ip_fw.c||  ftmp->fw_smsk.s_addr!=frwl->fw_smsk.s_addr
frwl1149net/ipv4/ip_fw.c||  ftmp->fw_dmsk.s_addr!=frwl->fw_dmsk.s_addr
frwl1150net/ipv4/ip_fw.c||  ftmp->fw_via.s_addr!=frwl->fw_via.s_addr
frwl1151net/ipv4/ip_fw.c||  ftmp->fw_flg!=frwl->fw_flg)
frwl1155net/ipv4/ip_fw.ctport2=frwl->fw_nsp+frwl->fw_ndp;
frwl1161net/ipv4/ip_fw.cif (ftmp->fw_pts[tmpnum]!=frwl->fw_pts[tmpnum])
frwl1195net/ipv4/ip_fw.cstruct ip_fw *check_ipfw_struct(struct ip_fw *frwl, int len)
frwl1206net/ipv4/ip_fw.cif ( (frwl->fw_flg & ~IP_FW_F_MASK) != 0 )
frwl1210net/ipv4/ip_fw.cfrwl->fw_flg);
frwl1215net/ipv4/ip_fw.cif ( (frwl->fw_flg & IP_FW_F_SRNG) && frwl->fw_nsp < 2 ) 
frwl1219net/ipv4/ip_fw.cfrwl->fw_nsp);
frwl1224net/ipv4/ip_fw.cif ( (frwl->fw_flg & IP_FW_F_DRNG) && frwl->fw_ndp < 2 ) 
frwl1228net/ipv4/ip_fw.cfrwl->fw_ndp);
frwl1233net/ipv4/ip_fw.cif ( frwl->fw_nsp + frwl->fw_ndp > IP_FW_MAX_PORTS ) 
frwl1237net/ipv4/ip_fw.cfrwl->fw_nsp,frwl->fw_ndp);
frwl1242net/ipv4/ip_fw.creturn frwl;
frwl1273net/ipv4/ip_fw.cstruct ip_fw *frwl;
frwl1275net/ipv4/ip_fw.cif (!(frwl=check_ipfw_struct(m,len)))
frwl1281net/ipv4/ip_fw.creturn( insert_in_chain(&ip_acct_chain,frwl,len));
frwl1283net/ipv4/ip_fw.creturn( append_to_chain(&ip_acct_chain,frwl,len));
frwl1285net/ipv4/ip_fw.creturn( del_from_chain(&ip_acct_chain,frwl));
frwl1378net/ipv4/ip_fw.cstruct ip_fw *frwl;
frwl1381net/ipv4/ip_fw.cfrwl=check_ipfw_struct(m,len);
frwl1382net/ipv4/ip_fw.cif (frwl==NULL)
frwl1389net/ipv4/ip_fw.creturn(insert_in_chain(chains[fwtype],frwl,len));
frwl1391net/ipv4/ip_fw.creturn(append_to_chain(chains[fwtype],frwl,len));
frwl1393net/ipv4/ip_fw.creturn(del_from_chain(chains[fwtype],frwl));