Lines Matching defs:mode
186 u_char type, u_char mode)
189 zlog_info ("%s Addr-family %d/%d has ORF type/mode %d/%d not supported",
190 peer->host, afi, safi, type, mode);
201 u_char mode;
202 u_int16_t sm_cap = 0; /* capability send-mode receive */
203 u_int16_t rm_cap = 0; /* capability receive-mode receive */
235 mode = *pnt++;
238 if (mode != ORF_MODE_BOTH && mode != ORF_MODE_SEND
239 && mode != ORF_MODE_RECEIVE)
241 bgp_capability_orf_not_support (peer, afi, safi, type, mode);
257 peer->host, ORF_TYPE_PREFIX, (mode == ORF_MODE_SEND ? "SEND" :
258 mode == ORF_MODE_RECEIVE ? "RECEIVE" : "BOTH") , afi, safi);
262 bgp_capability_orf_not_support (peer, afi, safi, type, mode);
277 peer->host, ORF_TYPE_PREFIX_OLD, (mode == ORF_MODE_SEND ? "SEND" :
278 mode == ORF_MODE_RECEIVE ? "RECEIVE" : "BOTH") , afi, safi);
282 bgp_capability_orf_not_support (peer, afi, safi, type, mode);
288 bgp_capability_orf_not_support (peer, afi, safi, type, mode);
292 switch (mode)