Searched refs:ipt (Results 1 - 4 of 4) sorted by relevance
/linux-4.1.27/net/sched/ |
H A D | act_ipt.c | 73 struct tcf_ipt *ipt = to_ipt(a); tcf_ipt_release() local 74 ipt_destroy_target(ipt->tcfi_t); tcf_ipt_release() 75 kfree(ipt->tcfi_tname); tcf_ipt_release() 76 kfree(ipt->tcfi_t); tcf_ipt_release() 90 struct tcf_ipt *ipt; tcf_ipt_init() local 117 ret = tcf_hash_create(index, est, a, sizeof(*ipt), bind); tcf_ipt_init() 129 ipt = to_ipt(a); tcf_ipt_init() 149 spin_lock_bh(&ipt->tcf_lock); tcf_ipt_init() 151 ipt_destroy_target(ipt->tcfi_t); tcf_ipt_init() 152 kfree(ipt->tcfi_tname); tcf_ipt_init() 153 kfree(ipt->tcfi_t); tcf_ipt_init() 155 ipt->tcfi_tname = tname; tcf_ipt_init() 156 ipt->tcfi_t = t; tcf_ipt_init() 157 ipt->tcfi_hook = hook; tcf_ipt_init() 158 spin_unlock_bh(&ipt->tcf_lock); tcf_ipt_init() 177 struct tcf_ipt *ipt = a->priv; tcf_ipt() local 183 spin_lock(&ipt->tcf_lock); tcf_ipt() 185 ipt->tcf_tm.lastuse = jiffies; tcf_ipt() 186 bstats_update(&ipt->tcf_bstats, skb); tcf_ipt() 194 par.hooknum = ipt->tcfi_hook; tcf_ipt() 195 par.target = ipt->tcfi_t->u.kernel.target; tcf_ipt() 196 par.targinfo = ipt->tcfi_t->data; tcf_ipt() 205 ipt->tcf_qstats.drops++; tcf_ipt() 216 spin_unlock(&ipt->tcf_lock); tcf_ipt() 224 struct tcf_ipt *ipt = a->priv; tcf_ipt_dump() local 234 t = kmemdup(ipt->tcfi_t, ipt->tcfi_t->u.user.target_size, GFP_ATOMIC); tcf_ipt_dump() 238 c.bindcnt = ipt->tcf_bindcnt - bind; tcf_ipt_dump() 239 c.refcnt = ipt->tcf_refcnt - ref; tcf_ipt_dump() 240 strcpy(t->u.user.name, ipt->tcfi_t->u.kernel.target->name); tcf_ipt_dump() 242 if (nla_put(skb, TCA_IPT_TARG, ipt->tcfi_t->u.user.target_size, t) || tcf_ipt_dump() 243 nla_put_u32(skb, TCA_IPT_INDEX, ipt->tcf_index) || tcf_ipt_dump() 244 nla_put_u32(skb, TCA_IPT_HOOK, ipt->tcfi_hook) || tcf_ipt_dump() 246 nla_put_string(skb, TCA_IPT_TABLE, ipt->tcfi_tname)) tcf_ipt_dump() 248 tm.install = jiffies_to_clock_t(jiffies - ipt->tcf_tm.install); tcf_ipt_dump() 249 tm.lastuse = jiffies_to_clock_t(jiffies - ipt->tcf_tm.lastuse); tcf_ipt_dump() 250 tm.expires = jiffies_to_clock_t(ipt->tcf_tm.expires); tcf_ipt_dump() 263 .kind = "ipt", 296 printk("Failed to load ipt action\n"); ipt_init_module()
|
/linux-4.1.27/lib/lz4/ |
H A D | lz4hc_compress.c | 215 const u8 *ipt = ip + MINMATCH; lz4hc_insertandgetwidermatch() local 218 while (ipt < matchlimit-(STEPSIZE - 1)) { lz4hc_insertandgetwidermatch() 220 u64 diff = A64(reft) ^ A64(ipt); lz4hc_insertandgetwidermatch() 222 u32 diff = A32(reft) ^ A32(ipt); lz4hc_insertandgetwidermatch() 226 ipt += STEPSIZE; lz4hc_insertandgetwidermatch() 230 ipt += LZ4_NBCOMMONBYTES(diff); lz4hc_insertandgetwidermatch() 234 if ((ipt < (matchlimit - 3)) lz4hc_insertandgetwidermatch() 235 && (A32(reft) == A32(ipt))) { lz4hc_insertandgetwidermatch() 236 ipt += 4; lz4hc_insertandgetwidermatch() 239 ipt += 2; lz4hc_insertandgetwidermatch() 241 if ((ipt < (matchlimit - 1)) lz4hc_insertandgetwidermatch() 242 && (A16(reft) == A16(ipt))) { lz4hc_insertandgetwidermatch() 245 if ((ipt < matchlimit) && (*reft == *ipt)) lz4hc_insertandgetwidermatch() 246 ipt++; lz4hc_insertandgetwidermatch() 257 if ((ipt - startt) > longest) { lz4hc_insertandgetwidermatch() 258 longest = (int)(ipt - startt); lz4hc_insertandgetwidermatch()
|
/linux-4.1.27/drivers/isdn/i4l/ |
H A D | isdn_ppp.c | 1249 struct ippp_struct *ipt, *ipts; isdn_ppp_xmit() local 1300 ipt = ippp_table[slot]; isdn_ppp_xmit() 1324 if (ipt->pass_filter isdn_ppp_xmit() 1325 && BPF_PROG_RUN(ipt->pass_filter, skb) == 0) { isdn_ppp_xmit() 1326 if (ipt->debug & 0x4) isdn_ppp_xmit() 1331 if (!(ipt->active_filter isdn_ppp_xmit() 1332 && BPF_PROG_RUN(ipt->active_filter, skb) == 0)) { isdn_ppp_xmit() 1333 if (ipt->debug & 0x4) isdn_ppp_xmit() 1342 if (ipt->debug & 0x4) isdn_ppp_xmit() 1405 skb = isdn_ppp_compress(skb, &proto, ipt, ipts, 0); isdn_ppp_xmit() 1411 if (ipt->debug & 0x24) isdn_ppp_xmit() 1415 if (ipt->mpppcfg & SC_MP_PROT) { isdn_ppp_xmit() 1419 if (ipt->mpppcfg & SC_OUT_SHORT_SEQ) { isdn_ppp_xmit() 1444 if (ipt->compflags & SC_LINK_COMP_ON) isdn_ppp_xmit() 1445 skb = isdn_ppp_compress(skb, &proto, ipt, ipts, 1); isdn_ppp_xmit() 1447 if ((ipt->pppcfg & SC_COMP_PROT) && (proto <= 0xff)) { isdn_ppp_xmit() 1460 if (!(ipt->pppcfg & SC_COMP_AC)) { isdn_ppp_xmit() 1472 isdn_ppp_frame_log("xmit", skb->data, skb->len, 32, ipt->unit, lp->ppp_slot); isdn_ppp_xmit()
|
/linux-4.1.27/net/ipv4/netfilter/ |
H A D | ip_tables.c | 68 return xt_alloc_initial_table(ipt, IPT); ipt_alloc_initial_table()
|
Completed in 211 milliseconds