What do you call that snorting noise/action people make when drawing phlegm to their mouth?

This is hawking

hawk [verb] (used without object)

  • to make an effort to raise phlegm from the throat; clear the throat noisily ...

[Dictionary.com]

(also used transitively)

....................

There are, of course, other homonyms.