try: II1iII1i = lisp.lisp_open_listen_socket(OOo0oO00ooO00, str(lisp.LISP_CTRL_PORT)) oOO0O00oO0Ooo = [oO0oIIII, II1iII1i, oO0Oo] except: oOO0O00oO0Ooo = [oO0oIIII, oO0Oo] if 67 - 67: OoO0O00 - OOooOOo if 36 - 36: IiII Oo0oO0oo0oO00[0] = oO0oIIII Oo0oO0oo0oO00[1] = oO0oIIII Oo0oO0oo0oO00[2] = oO0Oo if 36 - 36: ooOoO0o / O0 * Oo0Ooo - OOooOOo % iIii1I11I1II1 * oO0o if 79 - 79: O0 if 78 - 78: I1ii11iIi11i + OOooOOo - I1Ii111 if 38 - 38: o0oOOo0O0Ooo - oO0o + iIii1I11I1II1 / OoOoOO00 % Oo0Ooo oO0o0 = lisp.lisp_map_request() oO0o0.record_count = 1 oO0o0.subscribe_bit = OOO00O oO0o0.xtr_id_present = OOO00O oO0o0.nonce = 0xdfdf0e1d10c10000 + random.randint(0, 65535) if (ooOOOoOooOoO): iI1Ii11iIiI1 = lisp.LISP_AFI_NAME OO0Oooo0oOO0O = len(IIi) * 8 elif (IIi.find(":") != -1): iI1Ii11iIiI1 = lisp.LISP_AFI_IPV6 OO0Oooo0oOO0O = 128 elif (IIi.find(".") != -1): iI1Ii11iIiI1 = lisp.LISP_AFI_IPV4 OO0Oooo0oOO0O = 32 elif (o0O0OOO0Ooo): iI1Ii11iIiI1 = lisp.LISP_AFI_GEO_COORD
# # If lisp-core is not running on this machine, also open up a listen socket # for port 4342. # try: address = "0.0.0.0" if lisp.lisp_is_raspbian() else "0::0" lisp_listen_socket = lisp.lisp_open_listen_socket("0::0", str(4342)) lisp_sockets.append(lisp_listen_socket) except: pass #endtry # # Build and send ECM based Map-Request. # map_request = lisp.lisp_map_request() map_request.record_count = 1 #map_request.nonce = 0xdfdf0e1d10c20000 + random.randint(0, 65535) map_request.nonce = 0 if (dist_name): afi = lisp.LISP_AFI_NAME ml = len(dest_eid) * 8 elif (dest_eid.find(":") != -1): afi = lisp.LISP_AFI_IPV6 ml = 128 elif (dest_eid.find(".") != -1): afi = lisp.LISP_AFI_IPV4 ml = 32 elif (geo_string): afi = lisp.LISP_AFI_GEO_COORD ml = len(dest_eid) * 8
if 86 - 86: I1IiiI + Ii1I % i11iIiiIii * oO0o.ooOoO0o * I11i if 44 - 44: oO0o if 88 - 88: I1Ii111 % Ii1I.II111iiii if 38 - 38: o0oOOo0O0Ooo try: Oo0O = "0.0.0.0" if lisp.lisp_is_raspbian() else "0::0" i1I1ii1II1iII = lisp.lisp_open_listen_socket("0::0", str(4342)) O0oO.append(i1I1ii1II1iII) except: pass if 25 - 25: OoOoOO00.II111iiii / iII111i.OOooOOo * OoO0O00.I1IiiI if 59 - 59: II111iiii + OoooooooOO * OoOoOO00 + i1IIi if 58 - 58: II111iiii * OOooOOo * I1ii11iIi11i / OOooOOo if 75 - 75: oO0o if 50 - 50: Ii1I / Oo0Ooo - oO0o - I11i % iII111i - oO0o OOO0o = lisp.lisp_map_request() OOO0o.record_count = 1 if 30 - 30: iIii1I11I1II1 / ooOoO0o - I1Ii111 - II111iiii % iII111i OOO0o.nonce = 0 if (I1i1I1II): IIi1i11111 = lisp.LISP_AFI_NAME ooOO00O00oo = len(O000oo) * 8 elif (O000oo.find(":") != -1): IIi1i11111 = lisp.LISP_AFI_IPV6 ooOO00O00oo = 128 elif (O000oo.find(".") != -1): IIi1i11111 = lisp.LISP_AFI_IPV4 ooOO00O00oo = 32 elif (IiIiiI): IIi1i11111 = lisp.LISP_AFI_GEO_COORD ooOO00O00oo = len(O000oo) * 8