version 1.1.1.1, 2017/08/22 12:33:54
|
version 1.1.1.2, 2021/03/17 19:50:23
|
Line 269 ASN, for example if the path contains an AS set elemen
|
Line 269 ASN, for example if the path contains an AS set elemen
|
the last) part. If the path ends with an AS set, <CODE>last_nonaggregated</CODE> |
the last) part. If the path ends with an AS set, <CODE>last_nonaggregated</CODE> |
may be used to get last ASN before any AS set. |
may be used to get last ASN before any AS set. |
<P><CODE><I>P</I>.len</CODE> returns the length of path <I>P</I>. |
<P><CODE><I>P</I>.len</CODE> returns the length of path <I>P</I>. |
|
<P><CODE><I>P</I>.empty</CODE> resets path <I>P</I> to empty path. |
<P><CODE>prepend(<I>P</I>,<I>A</I>)</CODE> prepends ASN <I>A</I> to path <I>P</I> and |
<P><CODE>prepend(<I>P</I>,<I>A</I>)</CODE> prepends ASN <I>A</I> to path <I>P</I> and |
returns the result. |
returns the result. |
<P><CODE>delete(<I>P</I>,<I>A</I>)</CODE> deletes all instances of ASN <I>A</I> from |
<P><CODE>delete(<I>P</I>,<I>A</I>)</CODE> deletes all instances of ASN <I>A</I> from |
Line 302 modified. The type is used for community list (a set o
|
Line 303 modified. The type is used for community list (a set o
|
cluster list (a set of quads). There exist no literals of this type. |
cluster list (a set of quads). There exist no literals of this type. |
There are three special operators on clists: |
There are three special operators on clists: |
<P><CODE><I>C</I>.len</CODE> returns the length of clist <I>C</I>. |
<P><CODE><I>C</I>.len</CODE> returns the length of clist <I>C</I>. |
|
<P><CODE><I>C</I>.empty</CODE> resets clist <I>C</I> to empty clist. |
<P><CODE>add(<I>C</I>,<I>P</I>)</CODE> adds pair (or quad) <I>P</I> to clist <I>C</I> and |
<P><CODE>add(<I>C</I>,<I>P</I>)</CODE> adds pair (or quad) <I>P</I> to clist <I>C</I> and |
returns the result. If item <I>P</I> is already in clist <I>C</I>, it does |
returns the result. If item <I>P</I> is already in clist <I>C</I>, it does |
nothing. <I>P</I> may also be a clist, in that case all its members are |
nothing. <I>P</I> may also be a clist, in that case all its members are |
Line 467 messages). Can be changed, but only to <CODE>RTD_BLACK
|
Line 469 messages). Can be changed, but only to <CODE>RTD_BLACK
|
<DT><CODE> |
<DT><CODE> |
<A NAME="rta-ifname"></A> <I>string</I> ifname</CODE><DD><P>Name of the outgoing interface. Sink routes (like blackhole, unreachable |
<A NAME="rta-ifname"></A> <I>string</I> ifname</CODE><DD><P>Name of the outgoing interface. Sink routes (like blackhole, unreachable |
or prohibit) and multipath routes have no interface associated with |
or prohibit) and multipath routes have no interface associated with |
them, so <CODE>ifname</CODE> returns an empty string for such routes. Read-only. | them, so <CODE>ifname</CODE> returns an empty string for such routes. Setting it |
| would also change route to a direct one (remove gateway). |
<P> |
<P> |
<DT><CODE> |
<DT><CODE> |
<A NAME="rta-ifindex"></A> <I>int</I> ifindex</CODE><DD><P>Index of the outgoing interface. System wide index of the interface. May |
<A NAME="rta-ifindex"></A> <I>int</I> ifindex</CODE><DD><P>Index of the outgoing interface. System wide index of the interface. May |