Lines Matching refs:daddr_start
1052 static int mctp_route_add(struct mctp_dev *mdev, mctp_eid_t daddr_start, in mctp_route_add() argument
1060 if (!mctp_address_unicast(daddr_start)) in mctp_route_add()
1063 if (daddr_extent > 0xff || daddr_start + daddr_extent >= 255) in mctp_route_add()
1081 rt->min = daddr_start; in mctp_route_add()
1082 rt->max = daddr_start + daddr_extent; in mctp_route_add()
1103 static int mctp_route_remove(struct mctp_dev *mdev, mctp_eid_t daddr_start, in mctp_route_remove() argument
1111 if (daddr_extent > 0xff || daddr_start + daddr_extent >= 255) in mctp_route_remove()
1114 daddr_end = daddr_start + daddr_extent; in mctp_route_remove()
1121 rt->min == daddr_start && rt->max == daddr_end && in mctp_route_remove()
1251 struct mctp_dev **mdev, mctp_eid_t *daddr_start) in mctp_route_nlparse() argument
1269 *daddr_start = nla_get_u8(tb[RTA_DST]); in mctp_route_nlparse()
1309 mctp_eid_t daddr_start; in mctp_newroute() local
1316 &rtm, &mdev, &daddr_start); in mctp_newroute()
1335 rc = mctp_route_add(mdev, daddr_start, rtm->rtm_dst_len, mtu, in mctp_newroute()
1344 mctp_eid_t daddr_start; in mctp_delroute() local
1350 &rtm, &mdev, &daddr_start); in mctp_delroute()
1358 rc = mctp_route_remove(mdev, daddr_start, rtm->rtm_dst_len, RTN_UNICAST); in mctp_delroute()