Searched refs:optnum (Results 1 – 2 of 2) sorted by relevance
228 int foptsize, optnum; in xt_osf_match_packet() local250 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()
41 static __maybe_unused void sock_setfilter(int fd, int lvl, int optnum) in sock_setfilter() argument54 if (lvl == SOL_PACKET && optnum == PACKET_FANOUT_DATA) in sock_setfilter()59 if (setsockopt(fd, lvl, optnum, &bpf_prog, in sock_setfilter()