This is etymologically an adposition and it is still transparently an adposition in some varieties. -ring is a reduced from of -daring which is the Malay preposition dari with a velar nasal coda.