Lines Matching refs:opt

246 static const char *dccp_feat_oname(const u8 opt)  in dccp_feat_oname()  argument
248 switch (opt) { in dccp_feat_oname()
291 #define dccp_feat_print_opt(opt, feat, val, len, mandatory) do { \ argument
292 dccp_pr_debug("%s(%s, ", dccp_feat_oname(opt), dccp_feat_fname(feat));\
304 #define dccp_feat_print_opt(opt, feat, val, len, mandatory) argument
639 u8 opt, type, len, *ptr, nn_in_nbo[DCCP_OPTVAL_MAXLEN]; in dccp_feat_insert_opts() local
644 opt = dccp_feat_genopt(pos); in dccp_feat_insert_opts()
665 dccp_feat_print_opt(opt, pos->feat_num, ptr, len, 0); in dccp_feat_insert_opts()
667 if (dccp_insert_fn_opt(skb, opt, pos->feat_num, ptr, len, rpt)) in dccp_feat_insert_opts()
673 (opt == DCCPO_CONFIRM_R || opt == DCCPO_CONFIRM_L)) { in dccp_feat_insert_opts()
1097 static u8 dccp_feat_change_recv(struct list_head *fn, u8 is_mandatory, u8 opt, in dccp_feat_change_recv() argument
1101 const bool local = (opt == DCCPO_CHANGE_R); in dccp_feat_change_recv()
1108 dccp_feat_print_opt(opt, feat, val, len, is_mandatory); in dccp_feat_change_recv()
1208 static u8 dccp_feat_confirm_recv(struct list_head *fn, u8 is_mandatory, u8 opt, in dccp_feat_confirm_recv() argument
1212 const bool local = (opt == DCCPO_CONFIRM_R); in dccp_feat_confirm_recv()
1215 dccp_feat_print_opt(opt, feat, val, len, is_mandatory); in dccp_feat_confirm_recv()
1305 static u8 dccp_feat_handle_nn_established(struct sock *sk, u8 mandatory, u8 opt, in dccp_feat_handle_nn_established() argument
1309 const bool local = (opt == DCCPO_CONFIRM_R); in dccp_feat_handle_nn_established()
1314 dccp_feat_print_opt(opt, feat, val, len, mandatory); in dccp_feat_handle_nn_established()
1334 if (opt == DCCPO_CHANGE_L) { in dccp_feat_handle_nn_established()
1346 } else if (opt == DCCPO_CONFIRM_R) { in dccp_feat_handle_nn_established()
1368 DCCP_WARN("Received illegal option %u\n", opt); in dccp_feat_handle_nn_established()
1395 u8 mandatory, u8 opt, u8 feat, u8 *val, u8 len) in dccp_feat_parse_options() argument
1408 switch (opt) { in dccp_feat_parse_options()
1411 return dccp_feat_change_recv(fn, mandatory, opt, feat, in dccp_feat_parse_options()
1415 return dccp_feat_confirm_recv(fn, mandatory, opt, feat, in dccp_feat_parse_options()
1424 return dccp_feat_handle_nn_established(sk, mandatory, opt, feat, in dccp_feat_parse_options()