Home
last modified time | relevance | path

Searched refs:optnum (Results 1 – 2 of 2) sorted by relevance

/linux-4.4.14/net/netfilter/
Dxt_osf.c228 int foptsize, optnum; in xt_osf_match_packet() local
250 for (optnum = 0; optnum < f->opt_num; ++optnum) in xt_osf_match_packet()
251 foptsize += f->opt[optnum].length; in xt_osf_match_packet()
260 for (optnum = 0; optnum < f->opt_num; ++optnum) { in xt_osf_match_packet()
261 if (f->opt[optnum].kind == (*optp)) { in xt_osf_match_packet()
262 __u32 len = f->opt[optnum].length; in xt_osf_match_packet()
/linux-4.4.14/tools/testing/selftests/net/
Dpsock_lib.h41 static __maybe_unused void sock_setfilter(int fd, int lvl, int optnum) in sock_setfilter() argument
54 if (lvl == SOL_PACKET && optnum == PACKET_FANOUT_DATA) in sock_setfilter()
59 if (setsockopt(fd, lvl, optnum, &bpf_prog, in sock_setfilter()