tag | line | file | source code |
ftmp | 1030 | net/ipv4/ip_fw.c | struct ip_fw *ftmp; |
ftmp | 1031 | net/ipv4/ip_fw.c | ftmp = *chainptr; |
ftmp | 1032 | net/ipv4/ip_fw.c | *chainptr = ftmp->fw_next; |
ftmp | 1033 | net/ipv4/ip_fw.c | kfree_s(ftmp,sizeof(*ftmp)); |
ftmp | 1042 | net/ipv4/ip_fw.c | struct ip_fw *ftmp; |
ftmp | 1055 | net/ipv4/ip_fw.c | ftmp = kmalloc( sizeof(struct ip_fw), GFP_ATOMIC ); |
ftmp | 1056 | net/ipv4/ip_fw.c | if ( ftmp == NULL ) |
ftmp | 1064 | net/ipv4/ip_fw.c | memcpy(ftmp, frwl, len); |
ftmp | 1066 | net/ipv4/ip_fw.c | ftmp->fw_priority = 0xFF00; /* and_mask, xor_mask */ |
ftmp | 1068 | net/ipv4/ip_fw.c | ftmp->fw_priority = (ftmp->fw_priority & 0xFFFC) | 0x0300; |
ftmp | 1069 | net/ipv4/ip_fw.c | ftmp->fw_pcnt=0L; |
ftmp | 1070 | net/ipv4/ip_fw.c | ftmp->fw_bcnt=0L; |
ftmp | 1072 | net/ipv4/ip_fw.c | ftmp->fw_next = NULL; |
ftmp | 1078 | net/ipv4/ip_fw.c | *chainptr=ftmp; |
ftmp | 1086 | net/ipv4/ip_fw.c | newkind=ftmp->fw_flg & IP_FW_F_KIND; |
ftmp | 1102 | net/ipv4/ip_fw.c | n_sa=ntohl(ftmp->fw_src.s_addr); |
ftmp | 1103 | net/ipv4/ip_fw.c | n_da=ntohl(ftmp->fw_dst.s_addr); |
ftmp | 1104 | net/ipv4/ip_fw.c | n_sm=ntohl(ftmp->fw_smsk.s_addr); |
ftmp | 1105 | net/ipv4/ip_fw.c | n_dm=ntohl(ftmp->fw_dmsk.s_addr); |
ftmp | 1152 | net/ipv4/ip_fw.c | if (ftmp->fw_flg & IP_FW_F_SRNG) |
ftmp | 1153 | net/ipv4/ip_fw.c | n_sr=ftmp->fw_pts[1]-ftmp->fw_pts[0]; |
ftmp | 1155 | net/ipv4/ip_fw.c | n_sr=(ftmp->fw_nsp)? |
ftmp | 1156 | net/ipv4/ip_fw.c | ftmp->fw_nsp : 0xFFFF; |
ftmp | 1168 | net/ipv4/ip_fw.c | n_n=ftmp->fw_nsp; |
ftmp | 1181 | net/ipv4/ip_fw.c | if (ftmp->fw_flg & IP_FW_F_DRNG) |
ftmp | 1182 | net/ipv4/ip_fw.c | n_dr=ftmp->fw_pts[n_n+1]-ftmp->fw_pts[n_n]; |
ftmp | 1184 | net/ipv4/ip_fw.c | n_dr=(ftmp->fw_ndp)? ftmp->fw_ndp : 0xFFFF; |
ftmp | 1197 | net/ipv4/ip_fw.c | if ((addb4 == 0) && ftmp->fw_via.s_addr && |
ftmp | 1205 | net/ipv4/ip_fw.c | chtmp_prev->fw_next=ftmp; |
ftmp | 1206 | net/ipv4/ip_fw.c | ftmp->fw_next=chtmp; |
ftmp | 1210 | net/ipv4/ip_fw.c | *chainptr=ftmp; |
ftmp | 1211 | net/ipv4/ip_fw.c | ftmp->fw_next=chtmp; |
ftmp | 1221 | net/ipv4/ip_fw.c | chtmp_prev->fw_next=ftmp; |
ftmp | 1223 | net/ipv4/ip_fw.c | *chainptr=ftmp; |
ftmp | 1230 | net/ipv4/ip_fw.c | struct ip_fw *ftmp,*ltmp; |
ftmp | 1238 | net/ipv4/ip_fw.c | ftmp=*chainptr; |
ftmp | 1240 | net/ipv4/ip_fw.c | if ( ftmp == NULL ) |
ftmp | 1252 | net/ipv4/ip_fw.c | while( ftmp != NULL ) |
ftmp | 1255 | net/ipv4/ip_fw.c | if (ftmp->fw_src.s_addr!=frwl->fw_src.s_addr |
ftmp | 1256 | net/ipv4/ip_fw.c | || ftmp->fw_dst.s_addr!=frwl->fw_dst.s_addr |
ftmp | 1257 | net/ipv4/ip_fw.c | || ftmp->fw_smsk.s_addr!=frwl->fw_smsk.s_addr |
ftmp | 1258 | net/ipv4/ip_fw.c | || ftmp->fw_dmsk.s_addr!=frwl->fw_dmsk.s_addr |
ftmp | 1259 | net/ipv4/ip_fw.c | || ftmp->fw_via.s_addr!=frwl->fw_via.s_addr |
ftmp | 1260 | net/ipv4/ip_fw.c | || ftmp->fw_flg!=frwl->fw_flg) |
ftmp | 1263 | net/ipv4/ip_fw.c | tport1=ftmp->fw_nsp+ftmp->fw_ndp; |
ftmp | 1270 | net/ipv4/ip_fw.c | if (ftmp->fw_pts[tmpnum]!=frwl->fw_pts[tmpnum]) |
ftmp | 1278 | net/ipv4/ip_fw.c | ltmp->fw_next=ftmp->fw_next; |
ftmp | 1279 | net/ipv4/ip_fw.c | kfree_s(ftmp,sizeof(*ftmp)); |
ftmp | 1280 | net/ipv4/ip_fw.c | ftmp=ltmp->fw_next; |
ftmp | 1284 | net/ipv4/ip_fw.c | *chainptr=ftmp->fw_next; |
ftmp | 1285 | net/ipv4/ip_fw.c | kfree_s(ftmp,sizeof(*ftmp)); |
ftmp | 1286 | net/ipv4/ip_fw.c | ftmp=*chainptr; |
ftmp | 1291 | net/ipv4/ip_fw.c | ltmp = ftmp; |
ftmp | 1292 | net/ipv4/ip_fw.c | ftmp = ftmp->fw_next; |