Lines Matching refs:daddr_start
988 static int mctp_route_add(struct mctp_dev *mdev, mctp_eid_t daddr_start, in mctp_route_add() argument
996 if (!mctp_address_unicast(daddr_start)) in mctp_route_add()
999 if (daddr_extent > 0xff || daddr_start + daddr_extent >= 255) in mctp_route_add()
1017 rt->min = daddr_start; in mctp_route_add()
1018 rt->max = daddr_start + daddr_extent; in mctp_route_add()
1039 static int mctp_route_remove(struct mctp_dev *mdev, mctp_eid_t daddr_start, in mctp_route_remove() argument
1047 if (daddr_extent > 0xff || daddr_start + daddr_extent >= 255) in mctp_route_remove()
1050 daddr_end = daddr_start + daddr_extent; in mctp_route_remove()
1057 rt->min == daddr_start && rt->max == daddr_end && in mctp_route_remove()
1187 struct mctp_dev **mdev, mctp_eid_t *daddr_start) in mctp_route_nlparse() argument
1205 *daddr_start = nla_get_u8(tb[RTA_DST]); in mctp_route_nlparse()
1245 mctp_eid_t daddr_start; in mctp_newroute() local
1252 &rtm, &mdev, &daddr_start); in mctp_newroute()
1271 rc = mctp_route_add(mdev, daddr_start, rtm->rtm_dst_len, mtu, in mctp_newroute()
1280 mctp_eid_t daddr_start; in mctp_delroute() local
1286 &rtm, &mdev, &daddr_start); in mctp_delroute()
1294 rc = mctp_route_remove(mdev, daddr_start, rtm->rtm_dst_len, RTN_UNICAST); in mctp_delroute()