Searched refs:rtlst (Results 1 – 3 of 3) sorted by relevance
/external/scapy/scapy/ |
D | route.py | 39 rtlst = [] 41 rtlst.append((ltoa(net), 48 return pretty_list(rtlst,
|
D | route6.py | 52 rtlst = [] 55 …rtlst.append(('%s/%i'% (net,msk), gw, (iface if isinstance(iface, six.string_types) else iface.nam… 57 return pretty_list(rtlst,
|
D | utils.py | 1383 def pretty_list(rtlst, header, sortBy=0): argument 1388 rtlst.sort(key=lambda x: x[sortBy]) 1390 rtlst = header + rtlst 1392 colwidth = [max([len(y) for y in x]) for x in zip(*rtlst)] 1412 …rtlst = [tuple([_crop(rtlst[j][i], colwidth[i]) for i in range(0, len(rtlst[j]))]) for j in range(… 1414 colwidth = [max([len(y) for y in x]) for x in zip(*rtlst)] 1416 rt = "\n".join([fmt % x for x in rtlst])
|