Lines Matching refs:borderRouterConfig

945     otBorderRouterConfig  borderRouterConfig;  in HandlePropertyGet()  local
949 while (otNetDataGetNextOnMeshPrefix(mInstance, &iter, &borderRouterConfig) == OT_ERROR_NONE) in HandlePropertyGet()
953 SuccessOrExit(error = mEncoder.WriteIp6Address(borderRouterConfig.mPrefix.mPrefix)); in HandlePropertyGet()
954 SuccessOrExit(error = mEncoder.WriteUint8(borderRouterConfig.mPrefix.mLength)); in HandlePropertyGet()
955 SuccessOrExit(error = mEncoder.WriteBool(borderRouterConfig.mStable)); in HandlePropertyGet()
956 … SuccessOrExit(error = mEncoder.WriteUint8(BorderRouterConfigToFlagByte(borderRouterConfig))); in HandlePropertyGet()
958 SuccessOrExit(error = mEncoder.WriteUint16(borderRouterConfig.mRloc16)); in HandlePropertyGet()
959 …ccessOrExit(error = mEncoder.WriteUint8(BorderRouterConfigToFlagByteExtended(borderRouterConfig))); in HandlePropertyGet()
969 … while (otBorderRouterGetNextOnMeshPrefix(mInstance, &iter, &borderRouterConfig) == OT_ERROR_NONE) in HandlePropertyGet()
973 SuccessOrExit(error = mEncoder.WriteIp6Address(borderRouterConfig.mPrefix.mPrefix)); in HandlePropertyGet()
974 SuccessOrExit(error = mEncoder.WriteUint8(borderRouterConfig.mPrefix.mLength)); in HandlePropertyGet()
975 SuccessOrExit(error = mEncoder.WriteBool(borderRouterConfig.mStable)); in HandlePropertyGet()
976 … SuccessOrExit(error = mEncoder.WriteUint8(BorderRouterConfigToFlagByte(borderRouterConfig))); in HandlePropertyGet()
978 SuccessOrExit(error = mEncoder.WriteUint16(borderRouterConfig.mRloc16)); in HandlePropertyGet()
979 …ccessOrExit(error = mEncoder.WriteUint8(BorderRouterConfigToFlagByteExtended(borderRouterConfig))); in HandlePropertyGet()
993 otBorderRouterConfig borderRouterConfig; in HandlePropertyInsert() local
1001 memset(&borderRouterConfig, 0, sizeof(otBorderRouterConfig)); in HandlePropertyInsert()
1005 SuccessOrExit(error = mDecoder.ReadIp6Address(borderRouterConfig.mPrefix.mPrefix)); in HandlePropertyInsert()
1010 borderRouterConfig.mPrefix.mLength = prefixLength; in HandlePropertyInsert()
1011 borderRouterConfig.mStable = stable; in HandlePropertyInsert()
1012borderRouterConfig.mPreference = ((flags & SPINEL_NET_FLAG_PREFERENCE_MASK) >> SPINEL_NET_FLAG_P… in HandlePropertyInsert()
1013 borderRouterConfig.mPreferred = ((flags & SPINEL_NET_FLAG_PREFERRED) != 0); in HandlePropertyInsert()
1014 borderRouterConfig.mSlaac = ((flags & SPINEL_NET_FLAG_SLAAC) != 0); in HandlePropertyInsert()
1015 borderRouterConfig.mDhcp = ((flags & SPINEL_NET_FLAG_DHCP) != 0); in HandlePropertyInsert()
1016 borderRouterConfig.mConfigure = ((flags & SPINEL_NET_FLAG_CONFIGURE) != 0); in HandlePropertyInsert()
1017 borderRouterConfig.mDefaultRoute = ((flags & SPINEL_NET_FLAG_DEFAULT_ROUTE) != 0); in HandlePropertyInsert()
1018 borderRouterConfig.mOnMesh = ((flags & SPINEL_NET_FLAG_ON_MESH) != 0); in HandlePropertyInsert()
1026 borderRouterConfig.mNdDns = ((flagsExtended & SPINEL_NET_FLAG_EXT_DNS) != 0); in HandlePropertyInsert()
1027 borderRouterConfig.mDp = ((flagsExtended & SPINEL_NET_FLAG_EXT_DP) != 0); in HandlePropertyInsert()
1030 error = otBorderRouterAddOnMeshPrefix(mInstance, &borderRouterConfig); in HandlePropertyInsert()